DjangoHTMLAdmin dashboard

sbadmin — Django Admin dashboard Template

By hygull

A sample project that fully integrates the free Bootstrap admin theme SB Admin 2 into Django, including login, registration, password recovery, dashboard, tables, charts, and other pages.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided preview

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Integrates all pages of the free admin theme SB Admin 2 into the Django template system

02

Refactors pages using the Django Template Language and removes redundant code from the theme

03

UI code is centralized in src/ui, with templates and static files managed in separate theme and app/resource directories

04

Most routes are defined with a /users/ prefix in src/users/urls.py, and URLs in templates are generated dynamically

05

Login, registration, and password recovery share the same base_x.html with the navigation bar removed

Template Details

This is a Django project that integrates all pages of startbootstrap's free admin theme SB Admin 2 into the Django template system. The README states that its goal is to convert the theme's static pages into reusable Django templates and remove redundant code from the theme pages.

The project reorganizes template code using the Django Template Language (DTL), with UI code centralized in the src/ui directory, separated from backend code. Templates are placed in src/ui/templates, and static files in src/ui/static/files, further divided into theme (resources bundled with the SB Admin 2 theme) and app/resource (developer-created resources, including css, js, img, and logos subdirectories), to avoid conflicts when Django looks up static files with the same name according to the order of STATICFILES_DIRS.

For routing, most URLs are defined in src/users/urls.py with a /users/ prefix; only the Django admin site (/admin/) and the homepage (/) are defined in src/sbadmin/urls.py. Views are located in src/users/views.py and src/sbadmin/views.py. The README states that URLs in templates are generated dynamically, so after modifying urls.py there is no need to update templates accordingly. The login, registration, and password recovery pages share the same base_x.html and have the navigation bar removed.

The project provides screenshots of the registration, login, password recovery, dashboard, tables, colors and notifications, and charts pages. The tech stack is listed as Python 3.6.7, Django 2.2.6, and Bootstrap 4, an older version combination, so dependencies and runtime environment should be verified before actual use. The repository uses the MIT license, and the free scope is limited to that version of the code; third-party assets in the theme such as demo images, fonts, and icons need to be checked separately under their respective licenses.

DjangoHTMLAdmin

Is it right for your project?

Use Cases

  • Needing a runnable Django admin interface starting point to continue developing your own views and features
  • Referencing how to convert a static Bootstrap admin theme into a Django template and static file structure
  • Learning from an example of Django template inheritance, dynamic URL generation, and separated static file directories
  • Setting up a local admin demo environment with dashboard, tables, and charts pages

Suitable For

  • Developers currently using Django who need a ready-made admin interface skeleton
  • Developers who want to study how to integrate a Bootstrap theme with Django templates
  • Learners who need examples of basic pages such as login, registration, and password recovery

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Install Python 3 and virtualenv first, then clone the repository and create and activate a virtual environment

  2. 2

    Run pip install -r requirements.txt, cd src, python manage.py migrate, python manage.py runserver in sequence

  3. 3

    After starting, visit http://127.0.0.1:8000 to view the pages

  4. 4

    The Python 3.6.7, Django 2.2.6, and Bootstrap 4 versions noted in the README are older, so dependency compatibility should be verified before running

  5. 5

    Third-party assets in the theme such as demo images, fonts, and icons need to be checked separately under their respective licenses

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version in the public repository under the MIT license; the free scope is that version of the code and does not mean external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of that version of the code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • The project itself is a Django integration example of the free admin theme SB Admin 2, and the free scope is limited to that repository's code; third-party assets bundled with the theme such as demo images, fonts, and icons need to be checked separately under their respective licenses and cannot be assumed to be licensed along with the MIT code.
  • Running it requires installing Python 3 and virtualenv locally and performing steps such as pip install -r requirements.txt, migrate, and runserver; it is a self-hosted deployment and does not provide an online hosting service.
  • The README notes older version combinations such as Python 3.6.7, Django 2.2.6, and Bootstrap 4, so dependency and runtime environment compatibility should be verified before actual use.
  • Demo images, fonts, icons, and other third-party assets need to be checked under their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

A Django project with full integration of free Admin template named [Sb Admin 2](https://startbootstrap.com/themes/sb-admin-2/).

Original README

Python3+ installed in your system

Original README

| Python | 3.6.7 | Backend |

Original README
https://github.com/hygull/sbadmin/blob/master/LICENSEhttps://github.com/hygull/sbadmin/blob/master/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
Partly documented · 61 / 100
Technologies
Django · HTML
Website type
Admin dashboard
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2023-04-21
Screenshot last checked
2026-10-02

No demo link is recorded. Use the repository instructions to evaluate the project locally; the screenshot alone cannot establish interactive behavior.

The catalog identifies Django as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: 2da05bead595e999a624cf941dd5886e1b7279c8957633abf48f5e798056f8a2

2026-10-02T22:47:55.646Z

Source file / repository
# sbadmin (SB Admin 2, Django project with all pages integrated)

Any of the following best fits to describe this project.

+ A Django project with full integration of free Admin template named [Sb Admin 2](https://startbootstrap.com/themes/sb-admin-2/).

+ A Django powered fully functional responsive bootstrapped template integration for Admin.

+ A full integration of free Admin template available at [https://startbootstrap.com/themes/sb-admin-2/](https://startbootstrap.com/themes/sb-admin-2/) and named as [Sb Amdin 2](https://startbootstrap.com/themes/sb-admin-2/).

## Table of contents

+ [Tech stack](#tech-stack)
+ [Features](#features)
+ [Templates & static files directories](#template-and-static-files-directories)
+ [How to run?](#how-to-run)

<h2 id="tech-stack">Tech stack</h2>

| Language/Framework | Version | End | 
| --- | --- | --- |
| Python | 3.6.7 | Backend |
| Django | 2.2.6 | Backend, Python's high level web framework |
| Bootstrap | 4 | Frontend, CSS framework |

<h2 id="features">Features</h2>

+ Django templating langauge (DTL) is used for template code re-structuring.
+ Redundant code has been removed from [Sb Admin 2](https://startbootstrap.com/themes/sb-admin-2/) template pages.
+ UI code is completely separate from backend code i.e. in [src/ui](src/ui).
+ Urls defined in all pages are fully dynamic so changing url in **urls.py** will not force you to make change in templates. Just one change is enough. 
+ Almost all urls can be found at [src/users/urls.py](src/users/urls.py) which starts with `/users/`.
+ Only the urls related to **Django admin site** (starts with `/admin/`) and **Index page** (`/`) is defined at [src/sbadmin/urls.py](src/sbadmin/urls.py).
+ Views are defined at [src/users/views.py](src/users/views.py) , [src/sbadmin/views.py](src/sbadmin/views.py).
+ Theme related code is separate from user implemented code. Also user can add his own template & static files separately.
+ Navbar has been for login/register/forgot_passord pages (These 3 extends the same base_x.html).

<h2 id="template-and-static-files-directories">Templates & static files directories</h2>

+ Templates (HTML files) are under [src/ui/templates](src/ui/templates).

+ All static files (JS, css, scss, images etc.) are under [src/ui/static/files](src/ui/static/files), which is further sub divided in 2 directories.
	+ **theme** which is [src/ui/static/files/theme](src/ui/static/files/theme) holds all static files related to [Sb Admin 2](https://startbootstrap.com/themes/sb-admin-2/) theme.
	+ **app/resource** which is [src/ui/static/files/app/resource](src/ui/static/files/app/resource) holds all static files created by developer. Under this, you can manage your files under **css**, **js**, **img**, **logos** directories. 

	> **Note:** Here the main intention of creating **resource** inside **app** directory is to get rid of conflicts when Django searchs for static files after looking into **STATICFILES_DIRS** setting variable's values (i.e. paths which points to directories where Django looks for static  files) in order & there are 2 files with same name in 2 different **js**/**css**/**img** etc. directories.


<h2 id="how-to-run">How to run?</h2>

Make sure you have 

+ Python3+ installed in your system
+ **virtualenv** Python package is installed (It will allow you to run **virtualenv** command to create virtual environment)

Now, just follow the below steps to run this project. 

+ **`git clone https://github.com/hygull/sbadmin.git`**
+ **`virtualenv venv`** OR `python3 -m virtualenv venv`  OR `python3.6 -m virtualenv venv` etc.
+ **`source venv/bin/activate`** on Linux/MAC OS X, **`.\venv\Scripts\activate`** on Windows
+ **`cd sbadmin`**
+ **`pip install -r requirements.txt`**
+ **`cd src`**
+ **`python manage.py migrate`**
+ **`python manage.py runserver`**

Now, visit [http://127.0.0.1:8000](http://127.0.0.1:8000) and play. Later, you can write your own views and implement the functionality.

<h2 id="screenshots">Screenshots</h2>

Here are few scrennshots related to the integrated theme.

> ### Register

![Register](docs/screenshots/register.png)

> ### Login

![Login](docs/screenshots/login.png)

> ### Forgot Password

![Forgot Password](docs/screenshots/forgot_password.png)

> ### Dashboard

![Dashboard](docs/screenshots/dashboard.png)

> ### Tables

![Tables](docs/screenshots/tables.png)

> ### Colors & Notifications

![Colors & Notifications](docs/screenshots/colors_notifications.png)

> ### Charts

![Charts](docs/screenshots/charts.png)


Thanks for going through the documentation.
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.

typescript-backend-toolkit

typescript-backend-toolkit

An Express.js and TypeScript backend toolkit with auto-generated OpenAPI documentation, a Django-style admin panel, an Artisan-style tbk CLI, and a plugin architecture. It integrates Zod validation, JWT and Google login, BullMQ queues with BullBoard, Socket.IO, and multi-provider storage/cache/email.

Django · Admin dashboard

Django_Management_System_template

Django_Management_System_template

A Django and MySQL-based non-separated frontend-backend information management system template. It includes CRUD pages and forms for users, departments, numbers, and tasks, cookie-based login authentication with middleware redirection, pagination navigation, MD5 encryption, and Bootstrap form utilities.

Django · Admin dashboard

sneat-bootstrap-html-django-admin-template-free

sneat-bootstrap-html-django-admin-template-free

Sneat Free is a Django and Bootstrap 5 admin template under the MIT license, offering an Analytics dashboard, multiple layouts, authentication pages, forms, tables, and extended UI.

Django · Admin dashboard

materio-bootstrap-html-django-admin-template-free

materio-bootstrap-html-django-admin-template-free

Materio Free is a Django admin template with a Bootstrap frontend, released under the MIT license.

Django · Admin dashboard

django-otto-admin

django-otto-admin

An MIT-licensed Django admin customization app that embeds a Google Analytics data panel into the django-suit admin index page. It shows real-time active users, last-15-day traffic, top pages, browsers, referrals, visitor countries, and social interactions via the Google Analytics Embed API.

Django · Admin dashboard

django_project

django_project

Purple Admin is a free responsive admin template built with Bootstrap 4, ported to Django. It features a purple-themed data interface with neatly arranged admin components, incorporating Material Design Icons and jQuery.

Django · Admin dashboard