Skip to main content

Modern theme for Django admin interface built with Bootstrap 5.

Project description

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 2.2+
  • Python 3.7+

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,
}

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

django_suit5-0.2.29-py3-none-any.whl (854.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_suit5-0.2.29-py3-none-any.whl
  • Upload date:
  • Size: 854.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.31.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for django_suit5-0.2.29-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ed0e5bad070991650badec909734b2525412936a4a7865f1a6d88a4654b15a
MD5 7b7495429750671b432517f9b8c0dc0c
BLAKE2b-256 dc008e5d555e0da17ec5fb63841175a035d7094ac5aaafc0fb584ab28fd1d650

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 Pingdom Monitoring Sentry Error logging StatusPage Status page