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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_suit5-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 862.1 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 977a44e75b224806a910399146ec0e6f3ff2e6cbfdf897e641771032884a4fd2
MD5 a55ba08d45795dfc09cfe6b2a65679dc
BLAKE2b-256 bd9d9d310d7853fbb284dd9d9515f9caf1adfdeb02e16f0051ed6381eb187df2

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