Django Admin Template - Volt Bootstrap 5
Tags: webdev, django, dashboards, appseed
Published: 2021-10-06 10:11:02

---
title: Django Admin Template - Volt Bootstrap 5
published: true
description: Open-source Django Admin Template for styling the default Admin Section: Django Dashboard Volt can be downloaded and used as a package via PyPi.
tags: webdev, django, dashboards, appseed
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jniwtaeh4gubs99xwv47.gif
canonical_url: https://blog.appseed.us/django-admin-template-volt-bootstrap-5/
---
Hello Coders!

This article presents an open-source [Django Admin Template](https://blog.appseed.us/django-admin-template-volt-bootstrap-5/) that after the installation overwrites the default `admin` interface (all widgets). This **Django Template** is crafted on top of Bootstrap 5 using the latest version without a jQuery dependency by **Themesberg**. 

For newcomers, **[Django](https://www.djangoproject.com/)** is a leading web framework coded and actively supported by experienced developers that provides a default admin interface. **Django Template Volt** aims to enhance the admin section with a responsive layout and more appealing components and widgets. 

> Links

- ✨ [Django Admin Template Volt](https://pypi.org/project/django-admin-volt/) - PyPi Page
- ✨ [Django Volt Dashboard](https://appseed.us/admin-dashboards/django-dashboard-volt) - open-source starter (same design)
- ✨ [Django Volt Dashboard](https://django-volt-dashboard.appseed-srv1.com/) - LIVE Demo

---

![Django Admin Template Volt - Edit Users Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lnqtu2ipgb97v99ypnod.png)

---

The product can be downloaded and used via `PyPi` (as a Python package) using `PIP`:

```bash
$ pip install django-admin-volt
// OR
$ pip install git+https://github.com/app-generator/django-admin-volt.git
```

Once the installation is complete, the next step is to update the `Django` configuration with a few things to activate the template:

---

> 👉 **Step #1** - Add `admin_volt` to `INSTALLED_APPS` node in project settings:

```python
  INSTALLED_APPS = (
        ...
        'admin_volt.apps.AdminVoltConfig',
        'django.contrib.admin',
    )
```

---

> 👉 **Step #2** - Check `django.template.context_processors.request`  is enabled

```python
    TEMPLATES = [
        {
            'BACKEND': 'django.template.backends.django.DjangoTemplates',
            'DIRS': [],
            'APP_DIRS': True,
            'OPTIONS': {
                'context_processors': [
                    ...
                    'django.template.context_processors.request',
                    ...
                ],
            },
        },
    ]
```

---

As specified by the product [documentation](https://docs.appseed.us/boilerplate-code/django-templates/volt-dashboard), for legacy apps built with Django 1.8 (of bellow) the context processors should be specified using a different syntax:

```python
    from django.conf import global_settings

    TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
        'django.core.context_processors.request',
    )
```

---

> 👉 **Step #3** - Create the superuser and access the admin section

```bash
$ # Create Admin User
$ python manage.py createsuperuser
$ 
$ # Start the application (development mode)
$ python manage.py runserver # default port 8000
```

Access the admin section in the browser: `http://127.0.0.1:8000/admin/`

---

## ✨ Django Dashboard Volt

This is an open-source Django Seed project that used the same UI as the admin template. The product can be downloaded and used directly from Github, without a registration lock. For more information about this Django dashboard, feel free to access the product page hosted by AppSeed:

 
> [Django Dashboard Volt](https://appseed.us/admin-dashboards/django-dashboard-volt) open-source seed project - Product Features:

- Up-to-date dependencies: Django 3.2.6 LTS
- SCSS compilation via Gulp
- SQLite Database, Django Native ORM
- Modular design, clean code-base
- Session-Based Authentication, Forms validation
- Deployment scripts: Docker, Gunicorn / Nginx

---

![Django Admin Template Volt - Open-source seed project crafted by AppSeed.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q82hqm0vz72albkdi7vv.png)

---

> Thanks for Reading! For more resources, please access:

- 🔥 [AppSeed](https://appseed.us/) for more starters and [support](https://appseed.us/support)
- 🔥 [Open-Source Admin Dashboards](https://appseed.us/admin-dashboards/open-source) - crafted in Flask, `Django`, and React