Skip to main content

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

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

django_richmin-0.2.9.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_richmin-0.2.9-py2.py3-none-any.whl (2.8 MB view details)

Uploaded Python 2Python 3

File details

Details for the file django_richmin-0.2.9.tar.gz.

File metadata

  • Download URL: django_richmin-0.2.9.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for django_richmin-0.2.9.tar.gz
Algorithm Hash digest
SHA256 14ff2b52a62411541a6e8985a9a4ee8e43cbf929117c240b9521ca4a0fbe004e
MD5 6fc7402bd2f7a6c80590a358adae9740
BLAKE2b-256 2fc2543c999e8e2c6d2fcbf66a2f0e3ccbfabc7fb8c360eb7c9254dbf7fcc36d

See more details on using hashes here.

File details

Details for the file django_richmin-0.2.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_richmin-0.2.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55701993dce3515c48d12b97f8c34cad60d06147d62d088c4551b1a6f4e402d9
MD5 d346e3ca457173e1a32a3e8adb0b177d
BLAKE2b-256 a199788c308a851411c05ebc8f307c92a78dd2f1078520ebd2aa0d15cf23cb8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page