djing admin panel
Project description
description: Django Admin Panel inspired by Laravel Nova.
Introduction
Djing is a powerful and elegant Django admin panel inspired by Laravel Nova. It brings the flexibility, functionality, and modern aesthetics of Laravel Nova to Django developers, making it a breeze to manage your Django projects. With support for actions, filters, metrics, lenses, and custom components, Djing aims to simplify and enhance your administrative workflows.
Features
- Actions: Perform bulk operations on resources with ease.
- Filters: Customize the data displayed in your views using advanced filters.
- Metrics & Cards: Gain insights into your data with dynamic, customizable metrics and cards.
- Lenses: Create focused views to analyze specific subsets of your data.
- Resources: Manage your models and resources effortlessly.
- Custom Fields: Add personalized fields to meet your application's unique needs.
- Custom Cards: Extend the interface with custom-designed cards.
- Beautiful UI: Enjoy a clean, modern, and responsive user interface.
Screenshots
Below is an example of the Djing admin panel interface:
|
Login |
Resources |
Resource Detail |
|
Create Resource |
Update Resource |
Resource Metrics |
The above screenshot showcases the clean and modern UI of the Djing admin panel.
Installation
To install Djing, use pip:
pip install djing
Add djing to your INSTALLED_APPS in your Django project:
INSTALLED_APPS = [
...,
'djing',
]
Make sure to set the STATIC_ROOT & STATIC_URL in your settings.py file before collecting static files:
STATIC_URL = "/static/"
STATIC_ROOT = BASE_DIR / "static"
Also make sure to update urlpatterns in urls.py
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
after then you can collect static files
python manage.py collectstatic
Optionally, when uploading files / images, you need to add STORAGES, MEDIA_ROOT & MEDIA_URL in your settings.py.
STORAGES = {
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
"OPTIONS": {
"location": BASE_DIR / "media", # Replace with your media directory path
},
},
"staticfiles": {
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
},
}
MEDIA_URL = "/media/"
MEDIA_ROOT = BASE_DIR / "media"
After adding djing application to settings.py, you can now access djing CLI using, it provides a set of commands to help you work efficiently:
commander list
above command will list all available CLI commands for djing application:
PyJinx Framework 0.2.4
Usage:
Commands [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-v, --version Display this application version
Available Commands:
list List all commands
djing
djing:install Install assets
djing:resource Create a new resource class
djing:dashboard Create a new dashboard class
djing:action Create a new action class
djing:filter Create a new filter class
djing:lens Create a new lens class
djing:value Create a new metric (single value) class
djing:progress Create a new metric (progress) class
djing:partition Create a new metric (partition) class
djing:table Create a new metric (table) class
djing:field Create a new custom field
djing:card Create a new custom card
djing:rule Create a new validation rule
djing:policy Create a new authorization policy
Finally, you need to install djing application using installation command:
python manage.py djing:install
Ensure that the django_project_name is set in the .env file. If not specified, it defaults to myproject:
DJANGO_PROJECT_NAME=<your-project-name>
DJING_LICENSE_KEY=<your-license-key>
Customization
Djing is highly extensible. You can create your own cards, fields, and components to match your project's specific requirements. Refer to the documentation for details on creating custom components.
Documentation
Comprehensive documentation is available at Djing Documentation to help you get started and explore advanced features.
Contribution
Contributions are welcome! Please fork the repository and submit a pull request with your improvements. For major changes, open an issue to discuss your ideas first.
License
Djing is open-source software licensed under the MIT license only for development purposes.
For production use, a valid license key is required. To obtain a production license, visit the Djing Licensing Page.
Support
For questions, issues, or feature requests, please create an issue on the GitHub repository.
Author
- Krunal Dodiya
- Email: kunal.dodiya1@gmail.com
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djing-0.9.5.tar.gz.
File metadata
- Download URL: djing-0.9.5.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-26-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
802f2286b49844b6eb7296b1db04cc964fb2c47dfa5afc1fcb48f2d66e0398f3
|
|
| MD5 |
004602b943d9a6314fae8830095c1174
|
|
| BLAKE2b-256 |
d4af45b51cd378143981ed3d841b9ba68f210896f0d66399940a1f3af5b4dd65
|
File details
Details for the file djing-0.9.5-py3-none-any.whl.
File metadata
- Download URL: djing-0.9.5-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-26-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4b8adbd894a278ae2d37131ad6a97dbc4bc51854a3e231bda8b806a4954589f
|
|
| MD5 |
3f286d01306cb6d0d9ba857d6337ef9e
|
|
| BLAKE2b-256 |
b7e259e422a1a5358ad463ae7d836aa0ed677428fa6c8e42e5316e7955b70b0f
|