Observed since 20 Oct, 19:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A modern admin interface for Django using Tailwind CSS v4

A modern, beautiful Django admin theme built with Tailwind CSS v4. Transform your Django admin interface into a sleek, responsive dashboard with dark mode support.


pip install adminita
git clone https://github.com/djangify/adminita.git
cd adminita
pip install -r requirements.txt # demo project dependencies
pip install -e .
python manage.py migrate
python manage.py createsuperuser
The demo project reads optional settings from a .env file (see .env.example); it runs without one for local use.
django.contrib.admin):INSTALLED_APPS = [
"adminita", # Must be FIRST!
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
# ... your other apps
]
STATIC_URL = "/static/"
STATIC_ROOT = BASE_DIR / "staticfiles"
urls.py:from django.contrib import admin
admin.site.site_header = "Your Site Name"
admin.site.site_title = "Your Site Title"
admin.site.index_title = "Welcome to Your Site"
python manage.py collectstatic --noinput
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
http://localhost:8000/admin/That's it! Your Django admin should now have the Adminita theme applied.
filter_horizontal / filter_vertical receive new items, and raw ID lookups workpip install --upgrade adminita
python manage.py collectstatic --noinput
If your settings include "adminita.context_processors.admin_app_list" in TEMPLATES, remove it. It's no longer needed and now only raises a deprecation warning.
AlwaysVisibleAdmin and SingletonAdmin now follow Django's model permissions. Staff users who aren't superusers need view (and change) permission on those models to see them. Superusers are not affected.
Adminita uses Tailwind CSS v4's new @theme syntax. To customize colors:
adminita/static/src/input.css:@theme {
/* Change primary colors to match your brand */
--color-primary-500: #10b981; /* Your brand color */
--color-primary-600: #059669; /* Darker shade */
--color-primary-700: #047857; /* Even darker */
}
cd path/to/adminita
npm install # If you haven't already
npm run build
python manage.py collectstatic --noinput
--color-primary-50 through --color-primary-950
--color-gray-50 through --color-gray-900
--color-gray-750 (custom for dark mode)
Adminita provides utility classes to help with common admin patterns.
Ensures models always appear in the admin index, even if the changelist redirects or add is disabled. Viewing and editing still follow Django's normal model permissions:
from adminita.utils import AlwaysVisibleAdmin
@admin.register(MyModel)
class MyModelAdmin(AlwaysVisibleAdmin):
pass
For models that should only have one instance (like Site Settings). The changelist goes straight to the existing instance, adding is blocked once one exists (or if the user lacks add permission), and deleting is disabled:
from adminita.utils import SingletonAdmin
@admin.register(SiteConfiguration)
class SiteConfigurationAdmin(SingletonAdmin):
list_display = ['site_name']
git clone https://github.com/djangify/adminita.git
cd adminita
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
pip install -e ".[dev]" # Adminita itself plus pytest, ruff and black
npm install
npm run build # One-time build
npm run watch # Auto-rebuild on changes
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
adminita/
├── adminita/ # The Django app package
│ ├── static/
│ │ ├── adminita/
│ │ │ ├── adminita-tailwind.css # Generated CSS (don't edit)
│ │ │ ├── action-fix.css # Styles for Django's own widget markup
│ │ │ ├── adminita-tailwind.js # JavaScript for dark mode & mobile menu
│ │ │ └── adminita-autosave.js # Keeps unsaved form edits (restore/discard banner)
│ │ └── src/
│ │ └── input.css # Source CSS with Tailwind v4 syntax
│ ├── templates/
│ │ ├── admin/ # Template overrides
│ │ │ ├── base.html
│ │ │ ├── index.html
│ │ │ ├── login.html
│ │ │ ├── change_list.html
│ │ │ └── change_form.html
│ │ └── registration/ # Points Django's logout/password pages at Adminita's versions
│ ├── templatetags/ # adminita_tags (readonly field rendering)
│ ├── utils.py # AlwaysVisibleAdmin, SingletonAdmin
│ ├── __init__.py
│ └── apps.py
├── config/ # Django project settings
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── tests/ # pytest suite
├── manage.py
├── package.json # Node.js dependencies for Tailwind
├── pyproject.toml # Python package configuration
└── README.md
Adminita is usable on mobile, but not yet optimized for it:
Adminita uses Tailwind CSS v4, which has a different syntax than v3:
@import "tailwindcss" instead of @tailwind directives@theme {} blocks in CSSWhen extending Adminita templates in your own project:
{% extends "admin/base.html" %}
Not adminita/admin/base.html - Django finds templates automatically because adminita is in INSTALLED_APPS.
We welcome contributions! Adminita is an open-source project and we'd love your help making it better. See CONTRIBUTING.md for the full guide (setup, coding standards, PR process) and our Code of Conduct.
We especially need help with:
pytest # Run the Python test suite
npm test # Run the JavaScript tests (needs `npm install` first)
ruff check . # Lint
black --check . # Formatting
Tests run automatically on every pull request via GitHub Actions across supported Python/Django versions. Manual checks worth doing before submitting a PR: multiple browsers (Chrome, Firefox, Safari, Edge), dark mode toggle, and responsive layout on mobile.
This project is licensed under the MIT License - see the LICENSE file for details.
Website - GitHub: https://github.com/djangify/adminita_demo
Website: https://adminita.todiane.com (demo user login available)
Having trouble? Here are some ways to get help:
If you find Adminita useful, please consider giving it a star on GitHub! It helps others discover the project.
Made with ❤️ by a Django enthusiast
Note: This is an open-source project. I appreciate your patience and contributions!
Developer: https://www.todiane.com
Developer LinkedIn: https://linkedin.com/in/todianedev
Coffee Always Welcome: https://ko-fi.com/todianedev ❤️
Maintained by Diane Corriette
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.1 | 9 Oct 2026 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b8088a0b7f2898097b2e2f5bba2522297d4aa2d0e70adf436c2a4921da5ae47e