Install the Package
Install via pip or poetry
Choose your preferred package manager to install Django Admin Tabs:The package includes all necessary templates and CSS static files.
Add to INSTALLED_APPS
Add
django_admin_tabs to your INSTALLED_APPS setting in your Django settings file:settings.py
Make sure to place
django_admin_tabs before your custom apps to ensure proper template resolution.Collect static files (production only)
If you’re deploying to production, collect static files to ensure the CSS files are properly served:
Compatibility
Python and Django Versions
Django Admin Tabs requires:- Python: 3.8 or higher
- Django: 3.2 or higher
Third-Party Admin Libraries
Django Admin Tabs is compatible with popular Django admin extensions:- django-object-actions: Add custom actions to your admin interface
If you’re using other admin libraries and encounter compatibility issues, please report them on the GitHub repository.
What’s Included
When you install Django Admin Tabs, you get:- Three main classes:
AdminTab,AdminChangeListTab, andTabbedModelAdmin - Custom templates: Pre-built templates for tabbed interfaces
- CSS styles: Styling that integrates seamlessly with Django’s default admin theme
- No JavaScript dependencies: Everything works with plain Django admin
Next Steps
Quick Start Guide
Learn how to create your first tabbed admin interface
Core Concepts
Understand the main components of Django Admin Tabs