Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_suit5-0.3.3.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_suit5-0.3.3-py3-none-any.whl (864.9 kB view details)

Uploaded Python 3

File details

Details for the file django_suit5-0.3.3.tar.gz.

File metadata

  • Download URL: django_suit5-0.3.3.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for django_suit5-0.3.3.tar.gz
Algorithm Hash digest
SHA256 7c8c14db54069f2566df849ea057589f6b7ac58590da0dcc75f5ae109bcccc61
MD5 141966732528a2fa3ce96ae7f83aab81
BLAKE2b-256 39731b6de6db5fa96865bd60fa3e1ffe74723cc58db9adaf7d0ab48582ebdfd5

See more details on using hashes here.

File details

Details for the file django_suit5-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: django_suit5-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 864.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for django_suit5-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 47f1dc3e8788a30c1aefd82a30b4fcc6bb8b84223afa35cc9f1b88806197dec3
MD5 c5278213277026f56bf591d83b6427e8
BLAKE2b-256 29f0fec5a61c34e14833c5d3f8d7a69167ebcf128336ba29ab194a865354bc9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page