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.

Metadata

Release files for django-suit5 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-suit5 0.3.6
File Size Uploaded
django_suit5-0.3.6.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-suit5 0.3.6
File Interpreter ABI Platform
django_suit5-0.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / django_suit5-0.3.6.tar.gz

Download URL django_suit5-0.3.6.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
cfda01a12d158e5d7e4fa1d0f0bc1b61f99aa681ca375d17b53245259b0416ff
BLAKE2b-256 checksum
How to use checksums
6f468f19a893af3da0b6b50febd7d875ffc3ef5cff48033eabf40b8bae8edbd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / django_suit5-0.3.6-py3-none-any.whl

Download URL django_suit5-0.3.6-py3-none-any.whl
Size 873.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0d8a4acc3dd0fbe1d10d37efafae568cfa773a19e642c80de0057b3e4368102
BLAKE2b-256 checksum
How to use checksums
1eb642a39935a0fd644405f10ba8985b0bdaeeacb4cc28f42bf1714c039b8288
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release history Release notifications | RSS feed

0.3.15

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.12

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

1 release file

0.2.29

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page