Django admin customizing interface
- Multiple admin instances for the same model
- Customization of:
- actions configurator
- base admin class support
- Django (versions tbd - maybe >= 1.3)
Install from pypi, with pip:
pip install django-admin-customizer
Or with setuptools:
INSTALLED_APPS += ("admin_customizer", )
After that you need to run:
Or if you use south:
manage.py syncdb --migrate
You need to update
admin_customizer's models to get it working, initially and
after each model change with:
If you delete models the registered admins will be deleted for them.
If you delete fields from models the registered admins will have them removed after you run refresh_available_fields.
django-admin-customizer has static files for widgets in the edit interface.
If you use staticfiles just run:
If you do not use django.contrib.staticfiles you must manually symlink the site-packages/admin_customizer/static/admin_customizer dir to <your media root>/admin_customizer.
Making extra actions available
ADMIN_CUSTOMIZER_MAX_FIELD_DEPTH - depth to look for relations when
To enable urlpattern reloading add
You must have working django cache for this to work properly ! See django's cache documentation on this.
If you do not enable this you will have to restart the webserver after every AdminSite or RegisteredModel change !