#Django Quick Admin
django-quickadmin is a Django application which automatically registers all models found in
INSTALLED_APPS of settings module.
Notice: All models registered to admin via normal method (inside admin.py) will not be affected by this application, they will always show up.
The installation process is simple just like most of Django applications, just using
pip then updating
pip install django-quickadmin
INSTALLED_APPS inside settings file, and put
INSTALLED_APPS = ( 'django.contrib.admin', ... 'quickadmin', ... )
Please be sure that
'django.contrib.admin' is present, otherwise Django will throw error at starting
There you are, just restart the Django instance and visit admin page to see all custom models appeared and ready to be managed.
The application also support very few of customizations, all are placed inside the
QADMIN_EXCLUDES- List of applications or models which will be bypassed/hidden in admin area. In the case below, all undeclared models of
my_first_appand the model
my_second_app.JustOneModelwill be excluded.
QADMIN_EXCLUDES = [ 'my_first_app', 'my_second_app.JustOneModel', ]
QADMIN_EXCLUDE_STOCK- Option for excluding default/stock applications of Django or not (default = True).
QADMIN_EXCLUDE_STOCK = False # models of applications like: south, contenttypes,.. will be shown