Django Berry BS5 - Free PyPi Library
Tags: django, berry, bootstrap5, opensource
Published: 2022-12-12 19:42:01

---
title: Django Berry BS5 - Free PyPi Library
published: true
description: Modern template for Django Admin Interface coded on top of Berry, a modern BS5 dashboard template - Design provided as a PyPi Library by AppSeed
tags: django, berry, bootstrap5, opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wzevrhu8gm04cr9eveiq.jpg
canonical_url: https://www.admin-dashboards.com/django-berry-free-pypi-library/
---
Hello coders!

This article presents [Django Admin Berry](https://github.com/app-generator/django-admin-berry), the PyPi integration of this iconic design for **Django**. The latest stable version is provided by Berry maintainers, including Dark Mode, widgets, charts, and authentication pages. The product can be used in any [Django](https://appseed.us/admin-dashboards/django/) project (new or legacy) that needs a modern design with **Berry** design DNA. 

> Thanks for reading!

- 👉 [Django Admin Berry](https://github.com/app-generator/django-admin-berry) - library `source code`
- 👉 [Django Berry Dashboard](https://github.com/app-generator/django-berry-dashboard) - sample project
- 🚀 Free [support](https://appseed.us/support/) provided by `AppSeed` (just in case)

![Django Berry - Open-Source Library (Mobile View).](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4o78sskdy2fk6m3kweyj.png)

---

## ✨ What's in the box

This library can be installed and used with minimum effort and configuration. Once installed, the design covers the following:

- ✅ Admin Section reserved for Django superusers
- ✅ All Django.contrib.AUTH pages + Registration
- ✅ Pages for common users: Dashboard, Widgets, Forms

Berry Dashboard is an open-source [Bootstrap 5](https://www.admin-dashboards.com/bootstrap-5-templates/) design from [CodedThemes](https://codedthemes.com/?ref=appseed). The product is designed to deliver the best possible user experience with highly customizable feature-rich pages. Berry has an easy and intuitive responsive design whether it is viewed on retina screens or laptops. 

![Django Berry - UI Colors Page.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fauu6kkm8pg3rtn3fksr.png)

---

## ✨ How to use it

As mentioned before, the library can be used in a new Django project or for legacy projects that need a small UI boost in order to look better. In the following section, I will mention the installation steps as listed on the official [PyPi Page](https://pypi.org/project/django-admin-berry/).

> 👉 **Step #1** - Install the library

```bash
$ pip install django-admin-berry
```

---

> 👉 **Step #2** - Update the `INSTALLED_APPS` section of the project

```python
    INSTALLED_APPS = (
        ...
        'admin_berry.apps.AdminBerryConfig',
        'django.contrib.admin',
    )
```

---

> 👉 **Step #3** - Update project routing to include the theme URLs

```python
    from django.urls import path, include

    urlpatterns = [
        ...
        path('', include('admin_berry.urls')),
    ]
```

---

> 👉 **Step #4** - Migrate database and start the APP

```python
$ # Set up the database
$ python manage.py makemigrations
$ python manage.py migrate
$
$ # Create the superuser
$ python manage.py createsuperuser
$
$ # Start the application (development mode)
$ python manage.py runserver # default port 8000
```

At this point, the **Berry BS5** styling should cover all sections: authentication, the admin section reserved for superusers, and pages for common users.

![Django Berry - Sign IN page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j2p4oqrk38dbsc7kro0c.png)

---

> **Django Berry** - Icons (dark mode active)

![Django Berry - Icons Page (dark mode)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w2zheiexncrh6dghz42x.png)

---

## ✨ Berry BS5 `Playground project`

For those without much time or patience to manually configure the project, a playground app is also available with all the above steps already crafted.

> 👉 [Django Berry Dashboard](https://github.com/app-generator/django-berry-dashboard) - sources saved on GitHub

![Django Berry - Dashboard Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k177sxb1zdlc5wu2m306.png)

--- 

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

- 🚀 Free [support](https://appseed.us/support/) provided by AppSeed (email & Discord)
- 👉 More [free apps](https://appseed.us/apps/open-source/) crafted in Flask, Django, and [React](https://appseed.us/apps/react/)