Convert Figma logo to code with AI

darklow logodjango-suit

Modern theme for Django admin interface

2,315
703
2,315
299

Top Related Projects

:superhero: :zap: django's default admin interface with superpowers - customizable themes, popup windows replaced by modals and many other features.

Modern responsive template for the Django admin interface with improved functionality. We are proud to announce completely new Jet. Please check out Live Demo

A jazzy skin for the Django Admin-Interface (official repository).

A Django admin theme using Twitter Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed apps.

Jazzy theme for Django

Quick Overview

Django Suit is a modern theme for the Django admin interface. It enhances the default Django admin with a clean, responsive design and additional features, making it more user-friendly and visually appealing for developers and content managers.

Pros

  • Improved UI/UX with a modern, responsive design
  • Additional widgets and form elements for enhanced functionality
  • Easy installation and configuration
  • Compatible with most Django versions and third-party apps

Cons

  • Not actively maintained (last update was in 2018)
  • May require additional configuration for full compatibility with newer Django versions
  • Some users report issues with certain Django features or third-party apps
  • Limited customization options compared to more recent admin themes

Code Examples

  1. Installing Django Suit:
INSTALLED_APPS = (
    'suit',
    'django.contrib.admin',
    ...
)
  1. Customizing the admin title:
SUIT_CONFIG = {
    'ADMIN_NAME': 'My Company Admin'
}
  1. Adding a custom menu item:
SUIT_CONFIG = {
    'MENU': (
        {'label': 'Dashboard', 'url': '/admin/'},
        {'label': 'Users', 'models': ('auth.user', 'auth.group')},
        {'label': 'Custom Link', 'url': 'http://example.com', 'permissions': 'auth.add_user'}
    )
}

Getting Started

  1. Install Django Suit:

    pip install django-suit==0.2.28
    
  2. Add 'suit' to your INSTALLED_APPS in settings.py (before 'django.contrib.admin'):

    INSTALLED_APPS = (
        'suit',
        'django.contrib.admin',
        ...
    )
    
  3. Create a suit.config.py file in your project directory and add basic configuration:

    SUIT_CONFIG = {
        'ADMIN_NAME': 'My Project Admin',
        'HEADER_DATE_FORMAT': 'l, j. F Y',
        'HEADER_TIME_FORMAT': 'H:i',
    }
    
  4. Run migrations and start your Django server:

    python manage.py migrate
    python manage.py runserver
    
  5. Visit your admin interface to see the new theme in action.

Competitor Comparisons

:superhero: :zap: django's default admin interface with superpowers - customizable themes, popup windows replaced by modals and many other features.

Pros of django-admin-interface

  • More actively maintained with recent updates
  • Offers a wider range of customization options for the admin interface
  • Includes a built-in theme editor for easy customization

Cons of django-admin-interface

  • May have a steeper learning curve due to more configuration options
  • Potentially slower performance due to additional features and customizations

Code Comparison

django-admin-interface:

INSTALLED_APPS = (
    'admin_interface',
    'colorfield',
    'django.contrib.admin',
    # ...
)

X_FRAME_OPTIONS = 'SAMEORIGIN'
SILENCED_SYSTEM_CHECKS = ['security.W019']

django-suit:

INSTALLED_APPS = (
    'suit',
    'django.contrib.admin',
    # ...
)

SUIT_CONFIG = {
    'ADMIN_NAME': 'My Admin',
    'HEADER_DATE_FORMAT': 'l, j. F Y',
    'HEADER_TIME_FORMAT': 'H:i',
}

Both projects aim to enhance the Django admin interface, but django-admin-interface offers more extensive customization options and an integrated theme editor. django-suit provides a simpler setup with predefined styles but has been less actively maintained recently. The code comparison shows that django-admin-interface requires additional configuration for security settings, while django-suit focuses on basic appearance customization through its configuration dictionary.

Modern responsive template for the Django admin interface with improved functionality. We are proud to announce completely new Jet. Please check out Live Demo

Pros of Django JET

  • More modern and visually appealing interface with a responsive design
  • Customizable dashboard with widgets and drag-and-drop functionality
  • Better support for recent Django versions and more frequent updates

Cons of Django JET

  • Steeper learning curve due to more advanced features
  • May require more configuration to fully utilize all capabilities
  • Potentially higher resource usage due to additional features

Code Comparison

Django Suit:

from suit.apps import DjangoSuitConfig

class SuitConfig(DjangoSuitConfig):
    layout = 'horizontal'

Django JET:

JET_SIDE_MENU_COMPACT = True
JET_CHANGE_FORM_SIBLING_LINKS = True
JET_INDEX_DASHBOARD = 'dashboard.CustomIndexDashboard'

Both Django Suit and Django JET aim to enhance the Django admin interface, but they take different approaches. Django Suit focuses on a clean, professional look with minimal configuration, while Django JET offers more customization options and a modern, feature-rich interface.

Django JET provides a more flexible dashboard system and better responsiveness, making it suitable for projects that require a highly customizable admin panel. However, this comes at the cost of a steeper learning curve and potentially more complex setup.

Django Suit, on the other hand, offers a simpler approach with easier integration and lower resource usage, making it a good choice for projects that need a quick and straightforward admin interface upgrade.

A jazzy skin for the Django Admin-Interface (official repository).

Pros of django-grappelli

  • More established and mature project with a longer history
  • Extensive documentation and community support
  • Highly customizable with a wide range of features

Cons of django-grappelli

  • Steeper learning curve due to its extensive feature set
  • May require more configuration to achieve desired results
  • Slightly heavier in terms of resource usage

Code Comparison

django-grappelli:

from django.contrib import admin
from grappelli.dashboard import modules, Dashboard

class MyDashboard(Dashboard):
    def __init__(self, **kwargs):
        Dashboard.__init__(self, **kwargs)
        self.children.append(modules.ModelList(
            title='Administration',
            column=1,
            collapsible=True,
            models=('django.contrib.*',)
        ))

django-suit:

from django.contrib import admin
from suit.apps import DjangoSuitConfig

class SuitConfig(DjangoSuitConfig):
    layout = 'horizontal'
    admin_name = 'My Admin'
    menu = (
        {'app': 'auth', 'label': 'Authorization', 'icon':'icon-lock'},
        {'app': 'sites', 'label': 'Sites', 'icon':'icon-leaf'},
    )

Both projects aim to enhance the Django admin interface, but django-grappelli offers more extensive customization options at the cost of complexity, while django-suit provides a sleeker, more modern look with simpler configuration.

A Django admin theme using Twitter Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed apps.

Pros of django-admin-bootstrapped

  • Free and open-source, allowing for unlimited use and customization
  • Regularly updated and maintained by the community
  • Seamless integration with the latest Bootstrap versions

Cons of django-admin-bootstrapped

  • Less polished and refined UI compared to django-suit
  • May require more manual customization to achieve a professional look
  • Limited built-in features compared to django-suit's extensive offerings

Code Comparison

django-admin-bootstrapped:

INSTALLED_APPS = (
    'django_admin_bootstrapped',
    'django.contrib.admin',
    ...
)

django-suit:

INSTALLED_APPS = (
    'suit',
    'django.contrib.admin',
    ...
)

SUIT_CONFIG = {
    'ADMIN_NAME': 'My Admin',
    'MENU': (...),
}

django-admin-bootstrapped focuses on simplicity and ease of integration, requiring minimal configuration. django-suit, on the other hand, offers more extensive customization options through its SUIT_CONFIG dictionary, allowing for greater control over the admin interface appearance and functionality.

While both projects aim to enhance the Django admin interface, django-suit provides a more feature-rich and polished experience out of the box, whereas django-admin-bootstrapped offers a simpler, community-driven approach with greater flexibility for customization.

Jazzy theme for Django

Pros of Django Jazzmin

  • More actively maintained with frequent updates
  • Offers a wider range of customization options
  • Includes a dark mode feature out of the box

Cons of Django Jazzmin

  • May have a steeper learning curve due to more configuration options
  • Some users report occasional compatibility issues with certain Django versions

Code Comparison

Django Suit configuration:

SUIT_CONFIG = {
    'ADMIN_NAME': 'My Admin',
    'MENU': (
        {'app': 'auth', 'icon': 'icon-lock'},
        {'app': 'users', 'icon': 'icon-user'},
    ),
}

Django Jazzmin configuration:

JAZZMIN_SETTINGS = {
    "site_title": "My Admin",
    "site_header": "My Admin",
    "site_brand": "My Company",
    "welcome_sign": "Welcome to the admin",
    "copyright": "My Company Ltd",
    "search_model": "auth.User",
    "user_avatar": None,
}

Both Django Suit and Django Jazzmin aim to enhance the Django admin interface, but Jazzmin offers more modern features and customization options. While Suit has a simpler setup, Jazzmin provides greater flexibility for tailoring the admin experience to specific needs. The choice between the two depends on the project requirements and the desired level of customization.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

=========== Django Suit

Modern theme for Django admin interface.

Django Suit is alternative theme/skin/extension for Django <http://www.djangoproject.com>_ administration interface.

License

  • Django Suit is licensed under Creative Commons Attribution-NonCommercial 3.0 <http://creativecommons.org/licenses/by-nc/3.0/>_ license.
  • Licence and pricing: http://djangosuit.com/pricing/

Docs & Support

Changelog

Note: Django Suit v2.0 is in active development and not yet ready for production use.

Read more here: Todo: Add issue refernce

Contributing

See Contributing documentation <http://django-suit.readthedocs.org/en/v2/contribute.html>_

Build Status

Django Suit uses Travis CI to perform tests on different Django and Python versions.

Tested using Python: 2.7-3.4 and PyPy. Django: 1.9+ and Django Suit v2.0 alpha:

.. |v2| image:: https://travis-ci.org/darklow/django-suit.png?branch=v2 :alt: Build Status - v2 branch :target: http://travis-ci.org/darklow/django-suit

.. |develop| image:: https://travis-ci.org/darklow/django-suit.png?branch=develop :alt: Build Status - develop branch :target: http://travis-ci.org/darklow/django-suit

|v2| |develop|

Preview

.. image:: https://cloud.githubusercontent.com/assets/445304/12699480/3eee898e-c7c5-11e5-931c-ba1b0cabdecb.png :alt: Django Suit Preview :target: http://v2.djangosuit.com/admin/