Customized lte-bootstrap django admin theme with some useful tools
Project description
Django richmin (Rich Admin)
Drop-in theme for django admin, that utilises AdminLTE 3 & Bootstrap 4 to make yo' admin look richy
Installation
pip install django-richmin
Support Iframe in admin popups
Add this config to django settings.py:
X_FRAME_OPTIONS = 'SAMEORIGIN'
Global Filter Usage
- First of all, add 'GlobalFilterMixin' to your admin model and put it in the first inheritance hierarchy e.g.
from richmin.admin_mixin import GlobalFilterMixin class FooAdmin(GlobalFilterMixin, admin.ModelAdmin)
- Add 'global_filter' in your admin class. This field is a list of tuples.
The first item of the tuple is the relation between model and field and the second item
is the model name. Implement it like this:
global_filters = [ ('bar', 'bar'), ('bar__baz', 'baz'), ]
Features
- Drop-in admin skin, all configuration optional
- Customisable side menu
- Customisable top menu
- Customisable user menu
- 4 different Change form templates (horizontal tabs, vertical tabs, carousel, collapsible)
- Bootstrap 4 modal (instead of the old popup window, optional)
- Search bar for any given model admin
- Customisable UI (via Live UI changes, or custom CSS/JS)
- Responsive
- Select2 drop-downs
- Bootstrap 4 & AdminLTE UI components
- Using the latest adminlte + bootstrap
Thanks
This was initially a Fork of https://github.com/farridav/django-jazzmin
- Based on AdminLTE 3: https://adminlte.io/
- Using Bootstrap 4: https://getbootstrap.com/
- Using Font Awesome 5: https://fontawesome.com/
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
django_richmin-0.3.2.tar.gz
(3.3 MB
view details)
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 django_richmin-0.3.2.tar.gz.
File metadata
- Download URL: django_richmin-0.3.2.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a48b4977cae0f08bf44e69fba618954fda723408ee2a7c07689b0abbb73d0cd
|
|
| MD5 |
4b4b4c2a0a5b99b75720f56be2424ae5
|
|
| BLAKE2b-256 |
ef95d28c2dea8e4ce31d5b3b8d1105d37439c7d0f719169ff207601ed42b8f77
|
File details
Details for the file django_richmin-0.3.2-py2.py3-none-any.whl.
File metadata
- Download URL: django_richmin-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7180c40df938e03c1e037bb9f5d1ec2323d2877317b8c5e2b8b2acab161c76ad
|
|
| MD5 |
ce9c6de42701badd2999df53a57cd52f
|
|
| BLAKE2b-256 |
482249e519748afad41a3ef9850c0a6ce988dd86c0bf1fbb3e424dd6c811da9e
|