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.4.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.4-py3-none-any.whl (864.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_suit5-0.3.4.tar.gz
Algorithm Hash digest
SHA256 eef3b690c50bdc85af1d36f9652bbea40ec6774cf852ab7a9b41b412314732b1
MD5 2871fb582194ce18bfd4e10e6f1e27b0
BLAKE2b-256 cf734edef61a3033128f4ee54bad7bc97ce7d4513f133c4842d9339c8dd36a4a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for django_suit5-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 af9d0ce7a673363a9f7144bc73621d95abd5f81e0221ad3d6ffb7a272c428682
MD5 bde93cc0538b517cbc681c2c20f1b785
BLAKE2b-256 554bb0bac0fcb8fd10395829dad5032258cc815b943a0cf54d64449e37f07c14

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