Django Suit5
Modern theme for Django admin interface built with Bootstrap 5.
Django Suit5 is a modern, sleek admin interface theme for Django. It provides a clean and responsive design that enhances the default Django admin experience.
Features
- Bootstrap 5 - Built on the latest Bootstrap framework for modern styling and responsive design
- Bootstrap Icons - Integrated icon library for consistent, scalable icons
- Dark Mode - Built-in dark theme support with automatic toggle
- CSS Custom Properties - Theme variables for easy customization
- SCSS Source - Full SCSS source files for advanced customization
- Sortable Inlines - Drag-and-drop sorting for inline models
- Custom Widgets - Enhanced date/time pickers and form widgets
- Responsive Layout - Mobile-friendly admin interface
Requirements
- Django 3.2+
- Python 3.8+
Installation
pip install django-suit5
Add suit5 to your INSTALLED_APPS before django.contrib.admin:
INSTALLED_APPS = [
'suit5',
'django.contrib.admin',
'django.contrib.auth',
# ...
]
Configuration
Configure Django Suit5 in your settings.py:
SUIT_CONFIG = {
'ADMIN_NAME': 'My Admin',
'SHOW_REQUIRED_ASTERISK': True,
'CONFIRM_UNSAVED_CHANGES': True,
}
Multiple admin sites
Custom admin sites can select a separate Suit5 configuration with
settings_name:
from django.contrib.admin import AdminSite
class DealerAdminSite(AdminSite):
settings_name = 'SUIT_CONFIG_DEALER'
SUIT_CONFIG_DEALER = {
'ADMIN_NAME': 'Dealer portal',
'SEARCH_URL': '',
'MENU': (...),
}
For backwards compatibility, an admin site using the dealer URL namespace
will also use SUIT_CONFIG_DEALER automatically when that setting exists.
Development
Building CSS
The project uses SCSS for styling. To compile:
# Install dependencies
npm install
# Build CSS (compressed)
npm run build:css
# Build CSS (expanded for debugging)
npm run build:css:expanded
# Watch for changes
npm run watch:css
Project Structure
suit5/
├── static/suit5/
│ ├── css/ # Compiled CSS
│ ├── scss/ # SCSS source files
│ ├── js/ # JavaScript files
│ ├── bootstrap5/ # Bootstrap 5 assets
│ └── icons/ # Bootstrap Icons
├── templates/admin/ # Admin template overrides
└── widgets.py # Custom form widgets
License
Django Suit5 is licensed under Creative Commons Attribution-NonCommercial 3.0.
Links
- Documentation: http://django-suit.readthedocs.org/
- Support: http://djangosuit.com/support/
- Issues: https://github.com/darklow/django-suit/issues
Metadata
Release files for django-suit5 0.3.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_suit5-0.3.15.tar.gz | 1.1 MB | Without provenance | Details for django_suit5-0.3.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_suit5-0.3.15-py3-none-any.whl | Python 3 | none | any | Details for django_suit5-0.3.15-py3-none-any.whl |
Total release size: 2.0 MB
Release files / django_suit5-0.3.15.tar.gz
| Download URL | django_suit5-0.3.15.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ba2d4b6a69ef09b3dac6e8f45f058d12db54f17409ba2cbb27ba1106fb8c78f
|
|
BLAKE2b-256 checksum How to use checksums |
b2c8c192850b63805c1a156572d57e4c2efa8f35acd1c5e84ad8279e5ec12ab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / django_suit5-0.3.15-py3-none-any.whl
| Download URL | django_suit5-0.3.15-py3-none-any.whl |
|---|---|
| Size | 893.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a37b5d38e9fe8cb8bc3aca816cae7fb0ba79b636dbb06173e7aab437192ec179
|
|
BLAKE2b-256 checksum How to use checksums |
192df3a1c57752624951ba49a4ed26f037e98bdb267a889e7692c12bd8b459ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for django-suit5 0.3.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.