Skip to main content

Modern template for Django admin interface

Project description

Django Admin volt

Modern template for Django admin interface coded on top of Volt Dashboard (free version) from Themesberg

Originally coded by Iman Karimi, actively versioned and supported by AppSeed via Github (issues tracker) and Discord - 24/7 LIVE Service.


Links & Resources


Why Django Admin Black?

  • UI Kit: Volt Dashboard (Free version) provided by Themesberg
  • New fresh look
  • Responsive mobile interface
  • Useful admin home page
  • Minimal template overriding
  • Easy integration

Django Admin Volt - Template project for Django provided by AppSeed.


Installation

$ pip install git+https://github.com/app-generator/django-admin-volt.git
$ # or
$ easy_install git+https://github.com/app-generator/django-admin-volt.git
  • Add 'admin_black' application to the INSTALLED_APPS setting of your Django project settings.py file (note it should be before 'django.contrib.admin'):
    INSTALLED_APPS = (
        ...
        'admin_volt.apps.AdminVoltConfig',
        'django.contrib.admin',
    )
  • All programs you add in INSTALLED_APPS should look like this: APP_NAME.apps.APP_NAMEConfig.

In this feature, we considered that each App can have its own icon, so we ask users to use this feature according to the method. Also in apps.py of each program according to the example add the icon field in the corresponding class. You can go here to use more icons

    from django.apps import AppConfig

    class APP_NAMEConfig(AppConfig):
        name = 'APP_NAME'
        icon = 'ICON_CLASS'  # for example: icon = 'tim-icons icon-atom'
  • Make sure django.template.context_processors.request context processor is enabled in settings.py (Django 1.8+ way):
    TEMPLATES = [
        {
            'BACKEND': 'django.template.backends.django.DjangoTemplates',
            'DIRS': [],
            'APP_DIRS': True,
            'OPTIONS': {
                'context_processors': [
                    ...
                    'django.template.context_processors.request',
                    ...
                ],
            },
        },
    ]

:warning: Warning!!

  • Before Django 1.8 you should specify context processors different way. Also use django.core.context_processors.request instead of django.template.context_processors.request.
    from django.conf import global_settings

    TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
        'django.core.context_processors.request',
    )
  • Create database tables:
$ python manage.py migrate admin_black
$ # or
$ python manage.py syncdb
  • Collect static if you are in production environment:
$ python manage.py collectstatic
  • Clear your browser cache

Screenshots

Django Admin Volt - Main Django Dashboard screen.


Django Admin Volt - Add user screen.


Django Admin Volt - Edit user permissions.



Django Admin Volt - Provided by AppSeed

Project details


Download files

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

Source Distribution

django-admin-volt-0.0.1.tar.gz (11.7 kB view details)

Uploaded Source

File details

Details for the file django-admin-volt-0.0.1.tar.gz.

File metadata

  • Download URL: django-admin-volt-0.0.1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.4

File hashes

Hashes for django-admin-volt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0308cc5be499d8dcb2ddf27045b7d7e375c71d963d3cc8f87ce9f073ba26c64d
MD5 9594e32dde30bae829a0f5409b55bd22
BLAKE2b-256 8970d9db1041fdde1c6be9f985bca637f98398b13e67a43bf3e0d68494d2104c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page