Pretty Admin is a beautiful, customizable Django admin interface built with Tailwind CSS. It enhances the default Django admin with modern UI and responsive design.
⚠️ This package is under active development. Full-featured updates will be released soon. Stay tuned!
- 🎨 Beautiful Tailwind-based UI
- 🌙 Light/Dark theme toggle
- 📱 Fully responsive layout
- ⚡ Minimal setup, plug & play
You can install Pretty Admin directly from PyPI:
pip install pretty-adminFollow these steps to integrate pretty_admin into your Django project:
Make sure it's placed before django.contrib.admin:
# settings.py
INSTALLED_APPS = [
'pretty_admin', # 👈 Add this at the top before django.contrib.admin
'django.contrib.admin',
'django.contrib.auth',
...
]
Add this to your settings.py if not already set:
# settings.py
import os
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
To gather all static files (including Pretty Admin's Tailwind assets), run:
python manage.py collectstatic
This will generate a staticfiles/ folder containing all necessary static files.
python manage.py runserver
http://127.0.0.1:8000/admin/
You should now see the beautiful Pretty Admin UI ✨