django-admin-tools is a collection of utilities for the Django administration interface, providing features like a customizable dashboard, menu system, and theming. The current version is 0.9.3. While it supports recent Django versions, its release cadence is slow, with the last release in 2021, suggesting a maintenance-focused development.
pip install django-admin-toolsVerified import paths — ran on the pinned version, not inferred.
To integrate django-admin-tools, add its apps to `INSTALLED_APPS` in `settings.py` (ensure `admin_tools.theming` is first, and all `admin_tools` apps come before `django.contrib.admin`). Then, include `admin_tools.urls` in your project's `urls.py`, making sure it comes *before* `admin.site.urls` to avoid `NoReverseMatch` errors. Note the use of `re_path` for compatibility with Django 4.0+.
Ensure `re_path(r'^admin_tools/', include('admin_tools.urls'))` appears before `path('admin/', admin.site.urls)` in your project's `urls.py`.Move `'admin_tools.theming'` to the beginning of your `INSTALLED_APPS` list in `settings.py`.
Add `ADMIN_TOOLS_DASHBOARD = 'your_project.dashboard.CustomDashboard'` and `ADMIN_TOOLS_MENU = 'your_project.menu.CustomMenu'` to `settings.py`, replacing paths with your actual custom files.
When defining your project's `urls.py`, use `re_path(r'^admin_tools/', include('admin_tools.urls'))` instead of `url()`.