The Django Liana for Forest Admin.
Project description
Forest Admin in Django
Build
python setup.py sdist
Lint
Install flake8
pip install flake8
Lint files
flake8 .
Test
Run test database image
docker-compose up -d
Launch tests suite
pytest
Coverage
coverage run -m pytest
You can see coverage, thanks to coverage report
, coverage xml
, coverage html
.
It is also possible to combine several coverage reports run with different python versions:
coverage3.6 run --parallel-mode -m pytest
coverage3.9 run --parallel-mode -m pytest
coverage combine
coverage report
In a nutshell
Forest Admin provides an off-the-shelf administration panel based on a highly-extensible API plugged into your application.
This project has been designed with scalability in mind to fit requirements from small projects to mature companies.
Who Uses Forest Admin
- Apartmentlist
- Carbon Health
- Ebanx
- First circle
- Forest Admin of course :-)
- Heetch
- Lunchr
- Pillow
- Qonto
- Shadow
- And hundreds more…
Getting Started
https://docs.forestadmin.com/documentation/how-tos/setup/install
Documentation
https://docs.forestadmin.com/documentation/
How it works
Forest Admin consists of two components:
- The Admin Frontend is the user interface where you'll manage your data and configuration.
- The Admin Backend API hosted on your servers where you can find and extend your data models and all the business logic (routes, actions, …) related to your admin panel.
The Forest Admin gem (aka Forest Liana) introspects all your data model and dynamically generates the Admin API hosted on your servers. The Forest Admin interface is a web application that handles communication between the admin user and your application data through the Admin API.
Features
CRUD
All of your CRUD operations are natively supported. The API automatically supports your data models' validation and allows you to easily extend or override any API routes' with your very own custom logic.
Search & Filters
Forest Admin has a built-in search allowing you to run basic queries to retrieve your application's data. Set advanced filters based on fields and relationships to handle complex search use cases.
Sorting & Pagination
Sorting and pagination features are natively handled by the Admin API. We're continuously optimizing how queries are run in order to display results faster and reduce the load of your servers.
Custom action
A custom action is a button which allows you to trigger an API call to execute a custom logic. With virtually no limitations, you can extend the way you manipulate data and trigger actions (e.g. refund a customer, apply a coupon, ban a user, etc.)
Export
Sometimes you need to export your data to a good old fashioned CSV. Yes, we know this can come in handy sometimes :-)
Segments
Get in app access to a subset of your application data by doing a basic search or typing an SQL query or implementing an API route.
Dashboards
Forest Admin is able to tap into your actual data to chart out your metrics using a simple UI panel, a SQL query or a custom API call.
WYSIWYG
The WYSIWYG interface saves you a tremendous amount of frontend development time using drag'n'drop as well as advanced widgets to build customizable views.
Custom HTML/JS/CSS
Code your own views using JS, HTML, and CSS to display your application data in a more appropriate way (e.g. Kanban, Map, Calendar, Gallery, etc.).
Team-based permissions
Without any lines of code, manage directly from the UI who has access or can act on which data using a team-based permission system.
Third-party integrations
Leverage data from third-party services by reconciling it with your application’s data and providing it directly to your Admin Panel. All your actions can be performed at the same place, bringing additional intelligence to your Admin Panel and ensuring consistency.
Notes & Comments
Assign your teammates to specific tasks, leave a note or simply comment a record, thereby simplifying collaboration all across your organization.
Activity logs
Monitor each action executed and follow the trail of modification on any data with an extensive activity log system.
How to contribute
This repository is officially maintained by Forest Admin. We're always happy to get contributions for other fellow lumberjacks. All contributions will be reviewed by Forest Admin's team before being merged into main.
Here is the contribution workflow:
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
Please ensure that the tests are passing before submitting any pull request:
$ docker-compose up -d
$ pytest
Community
👇 Join our Developers community for support and more
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-forestadmin-1.6.11.tar.gz
.
File metadata
- Download URL: django-forestadmin-1.6.11.tar.gz
- Upload date:
- Size: 112.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2564324d768f8fdd9036a693ed321e46354822bc48e979013213fefcd75e358 |
|
MD5 | aca3c8280918d96de493d311eb069fbb |
|
BLAKE2b-256 | df6d6ef1c7f1c6a877da1a400de6d69e38663f81c15c4c5d8454ce19e4799647 |
File details
Details for the file django_forestadmin-1.6.11-py3-none-any.whl
.
File metadata
- Download URL: django_forestadmin-1.6.11-py3-none-any.whl
- Upload date:
- Size: 179.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 779c4820889548d282e74bd0ff90dfeee0a06ace8c2ac5c2cfc6bfedf33c1300 |
|
MD5 | a1d6b2eb901a12c00b9ab790bf8ee300 |
|
BLAKE2b-256 | f6691b9b81adb8f3ef29cc582962a7ea75a373ec372e9fc233a501ee5401fc44 |