Django后台

django-admin-berry — Django 后台模板

作者 Badivalaurd

基于 Berry Bootstrap 5 设计、用于替换 Django Admin 界面的 MIT 许可模板包,通过 pip 安装并注册应用即可生效。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-04查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

用 Berry Bootstrap 5 设计替换 Django Admin 默认界面

02

通过 pip 安装并注册 admin_berry 应用即可接入现有 Django 项目

03

覆盖登录、注册、仪表盘及颜色、图标、排版、空白页等页面

04

提供 footer、sidebar、navigation、scripts 组件与 base、auth_base 母版

05

定制方式为按相同路径复制模板文件到项目 templates 目录覆盖

06

仓库采用 MIT 许可

模板详细介绍

django-admin-berry 是一个 Django 应用,用 Berry 这套 Bootstrap 5 后台设计替换 Django 自带的 Admin 界面。它由 AppSeed 维护,仓库采用 MIT 许可,可通过 pip 安装(也可从 GitHub 仓库安装)。

使用方式是在项目的 INSTALLED_APPS 中把 admin_berry.apps.AdminBerryConfig 放在 django.contrib.admin 之前,并配置 LOGIN_REDIRECT_URL、EMAIL_BACKEND,再在 urls.py 中 include admin_berry.urls。模板覆盖了登录、注册、仪表盘、颜色、图标、排版、空白页等页面,以及 footer、sidebar、navigation、scripts 等组件和 base/auth_base 两个母版。需要定制时,把库中对应模板按相同路径复制到项目 templates 目录即可覆盖默认版本。

仓库资料同时提到存在付费 PRO 版本,本次收录的仅是公开的免费代码;演示图片、字体、图标等第三方素材的许可需单独核对。

Django后台

适合你的项目吗?

适用场景

  • 为已有 Django 项目更换 Admin 后台的视觉样式
  • 需要登录、注册等认证页面的 Django 后台界面
  • 在后台中查看颜色、图标、排版等 UI 元素示例页
  • 以模板覆盖方式对后台页脚、侧边栏、导航等组件做局部定制

适合人群

  • 使用 Django 并希望替换默认 Admin 外观的项目
  • 接受通过 pip 安装第三方 Django 应用并修改 settings 的开发者
  • 需要 Bootstrap 5 风格后台界面且愿意按模板路径覆盖定制的人

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    通过 pip install django-admin-berry 或从 GitHub 仓库安装

  2. 2

    在 INSTALLED_APPS 中加入 admin_berry.apps.AdminBerryConfig,并置于 django.contrib.admin 之前

  3. 3

    在 settings.py 中设置 LOGIN_REDIRECT_URL 与 EMAIL_BACKEND

  4. 4

    在 urls.py 中 include('admin_berry.urls')

  5. 5

    生产环境执行 collectstatic;随后 makemigrations、migrate、createsuperuser 并 runserver

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • README 中另有付费 PRO 版本(Django Theme Berry PRO),本次收录的免费代码不包含 PRO 版本的功能与页面,PRO 需另行购买。
  • 项目支持通过 AppSeed 的 Email 与 Discord 渠道获取,属于外部服务,可能需要相应账号。
  • 界面基于第三方 CodedThemes 的 Berry Bootstrap 设计,该 UI Kit 的素材许可需单独核对,不随本仓库 MIT 许可一并授予。
  • 生产环境部署需自行执行 collectstatic 等步骤,README 未对生产可用性作出保证。
  • 项目资料提及可选付费版本或功能;本次仅收录公开免费代码,不包含付费升级。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

## [PRO Version](https://appseed.us/product/berry-dashboard-pro/django/)

README 原文

Actively supported by [AppSeed](https://appseed.us/) via `Email` and `Discord`.

README 原文

**UI Kit**: [Berry Bootstrap](https://codedthemes.com/item/berry-bootstrap-free-admin-template/?ref=appseed) by `CodedThemes`

README 原文

**Collect static** if you are in `production environment`:

README 原文
https://github.com/Badivalaurd/django-admin-berry/blob/main/LICENSE.mdhttps://github.com/Badivalaurd/django-admin-berry/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-04。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 65 / 100
技术栈
Django
网站类型
后台
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2023-01-31
截图检查日期
2026-10-04

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Django。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-04

查看当时使用的来源资料

SHA-256: f7f9118891bb73aea8b838002be99b003c6bc89f23b432e2c121bdeb7190b9ca

2026-10-04T02:42:35.825Z

来源文件 / 仓库
# [Django Admin Berry](https://appseed.us/product/berry-dashboard/django/)

Modern template for **Django Admin Interface** coded on top of **[Berry Dashboard](https://appseed.us/product/berry-dashboard/django/)**, an open-source `Bootstrap 5` design from `CodedThemes`. It is designed to deliver the best possible user experience with highly customizable feature-rich pages. `Berry` has easy and intuitive responsive design whether it is viewed on retina screens or laptops.

> Actively supported by [AppSeed](https://appseed.us/) via `Email` and `Discord`.

<br />

## Features: 

- [Django Berry](https://appseed.us/product/berry-dashboard/django/) - `Product` that uses the library
  - `Features`: Fully-configured, `CI/CD` via Render
- **UI Kit**: [Berry Bootstrap](https://codedthemes.com/item/berry-bootstrap-free-admin-template/?ref=appseed) by `CodedThemes`
- **Sections Covered**: 
  - `Admin Section`, reserved for `superusers`
  - `All pages` managed by `Django.contrib.AUTH`
  - `Registration` page
  - `Misc pages`: colors, icons, typography, blank-page 

<br />

![Berry Bootstrap 5 - Dark-Mode ready, Open-source Template.](https://user-images.githubusercontent.com/51070104/215728710-d1ee7fef-8153-402b-9741-371e1c01cd36.png)

<br />

## Why `Django Admin Berry`

- Modern [Bootstrap 5](https://www.admin-dashboards.com/bootstrap-5-templates/) Design
- `Responsive Interface`
- `Minimal Template` overriding
- `Easy integration`

Berry Dashboard comes with error/bug-free, well structured codebase that renders nicely in all major browsers and devices. 

<br />

## How to use it

<br />

> **Install the package** via `PIP` 

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

<br />

> Add `admin_berry` application to the `INSTALLED_APPS` setting of your Django project `settings.py` file (note it should be before `django.contrib.admin`):

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

<br />

> Add `LOGIN_REDIRECT_URL` and `EMAIL_BACKEND` of your Django project `settings.py` file:

```python
    LOGIN_REDIRECT_URL = '/'
    # EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
    EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
```

<br />

> Add `admin_berry` urls in your Django Project `urls.py` file

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

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

<br />

> **Collect static** if you are in `production environment`:

```bash
$ python manage.py collectstatic
```

<br />

> **Start the app**

```bash
$ # 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
```

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

<br />

## How to Customize 

When a template file is loaded in the controller, `Django` scans all template directories starting from the ones defined by the user, and returns the first match or an error in case the template is not found. 
The  theme used to style this starter provides the following files: 

```bash
< LIBRARY_ROOT >                      # This exists in ENV: LIB/admin_berry
   |
   |-- templates/                     # Root Templates Folder 
   |    |          
   |    |-- accounts/       
   |    |    |-- login.html           # Sign IN Page
   |    |    |-- register.html        # Sign UP Page
   |    |
   |    |-- includes/       
   |    |    |-- footer.html          # Footer component
   |    |    |-- sidebar.html         # Sidebar component
   |    |    |-- navigation.html      # Navigation Bar
   |    |    |-- scripts.html         # Scripts Component
   |    |
   |    |-- layouts/       
   |    |    |-- base.html            # Masterpage
   |    |    |-- auth_base.html       # Masterpage for Auth Pages
   |    |
   |    |-- pages/       
   |         |-- index.html           # Dashboard page
   |         |-- color.html           # Colors Page
   |         |-- *.html               # All other pages
   |    
   |-- ************************************************************************
```

When the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path. 

For instance, if we want to customize the `footer.html` these are the steps:

- `Step 1`: create the `templates` DIRECTORY inside your app 
- `Step 2`: configure the project to use this new template directory
  - Edit `settings.py` TEMPLATES section 
- `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR
  - Source PATH: `<YOUR_ENV>/LIB/admin_berry/includes/footer.html`
  - Destination PATH: `YOUR_APP/templates/includes/footer.html`
- Edit the footer (Destination PATH)    

At this point, the default version of the `footer.html` shipped in the library is ignored by Django.

In a similar way, all other files and components can be customized easily.

<br />

## [PRO Version](https://appseed.us/product/berry-dashboard-pro/django/)   

This design is a pixel-perfect [Bootstrap 5](https://www.admin-dashboards.com/bootstrap-5-templates/) Dashboard with a fresh, new design inspired by Google's Material Design. `Material Dashboard 2 PRO` is built with over 300 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.

> Features: 

- `Up-to-date Dependencies`
- `Design`: [Django Theme Berry](https://github.com/app-generator/django-admin-berry-pro) - `PRO Version`
- `Sections` covered by the design:
  - **Admin section** (reserved for superusers)
  - **Authentication**: `Django.contrib.AUTH`, Registration
  - **All Pages** available in for ordinary users 
- `Docker`, `Deployment`:
  - `CI/CD` flow via `Render`

<br />

![Berry Bootstrap 5 PRO - Premium Template Django Template.](https://user-images.githubusercontent.com/51070104/210833058-be0b3e87-4f2b-4765-b84d-3795ba03c6a1.jpg)

<br />

---
**[Django Admin Berry](https://appseed.us/product/berry-dashboard/django/)** - Modern Admin Interface provided by **[AppSeed](https://appseed.us/)**
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。