Django Volt is a django admin customization for https://github.com/themesberg/volt-bootstrap-5-dashboard
-
Install
pip install django-volt-admin
-
Add "volt" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ 'volt', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ... ]
ensure that the app is declared before django admin
-
Include Templates from the volt admin customization
TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ BASE_DIR /'volt/templates', ], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ]
-
Start the development server and visit http://127.0.0.1:8000/admin/ to view (you'll need the Admin app enabled).