Codementor Events

SB Admin - Free Django Template

Published Sep 04, 2020Last updated Oct 14, 2021
SB Admin - Free Django Template

Hello coders,

The iconic SB Admin (free version) is now available as an open-source Django Template, released under the MIT License. For newcomers, SB Admin is a free, open-source, MIT licensed Bootstrap admin template. The Django version is provided with basic modules, database, a super simple codebase, and deployment scripts


Thanks for reading! Please find below the relevant links:


SB Admin - Free Django Template coded with basic modules and deployment scripts.


SB Admin - UI Information

SB Admin is a BS 4 admin template with minimal custom styling and an advanced development environment - a perfect starter template for building web apps, dashboards, and admin panels. The project can be downloaded directly from Github, under the MIT license and compiled from sources in a few minutes if your workstation has Node.js and Gulp properly installed and configured.

UI Vendor Notes (StartBootstrap) - SB Admin is a free, open source, MIT licensed Bootstrap admin template. This template uses the default Bootstrap 4 styles along with a variety of plugins to create a powerful framework for creating admin panels, web apps, or dashboard UI's for your next project.

Features (HTML Version)

  • SCSS based theme with built in scripts for compiling Pug and CSS
  • A flexbox based layout with fixed and static navigation options
  • Toggleable sidebar menu with intuitive toggled states
  • Custom panel styling
  • Interactive charts by Chart.js plugin
  • Interactive tables by dataTables plugin
  • Login, Registration, Forgot Password, 404, and Blank starter HTML pages

SB Admin - Free Django Template, Charts page.


SB Admin Django

Django version of SB Admin is provided with a basic set of features, database, ORM, modular codebase and deployment scripts for some well-known platforms and configuratons like Docker, HEROKU, and Gunicorn/Nginx stack.

What is Django

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It's free and open source.

(Useful) Links


How to setup Environment

To use the stater, Python3 should be installed properly in the workstation. If you are not sure if Python is properly installed, please open a terminal and type python --version. The full-list with dependencies and tools required to build the app:

  • Python3 - the programming language used to code the app
  • GIT - used to clone the source code from the Github repository
  • Basic development tools (g++ compiler, python development libraries ..etc) used by Python to compile the app dependencies in your environment.

SB Admin Django - Compile from sources

To built and start the app locally, please follow the steps:

Get the source code

  • Download the ZIP from Github Repository
  • Using GIT tool in the terminal to clone the source code

Change the current directory to source code directory

$ # Make sure you are running the commands INSIDE source code directory
$
$ # Virtualenv et up (Unix based systems)
$ virtualenv env
$ source env/bin/activate
$
$ # Install modules - SQLite Storage
$ pip3 install -r requirements.txt
$
$ # Create tables
$ python manage.py makemigrations
$ python manage.py migrate
$
$ # Start the application (development mode)
$ python manage.py runserver # default port 8000
$
$ # Start the app - custom port
$ # python manage.py runserver 0.0.0.0:<your_port>
$
$ # Access the web app in browser: http://127.0.0.1:8000/

At this point, we can visit the app in the browser http://127.0.0.1:8000/. By default, the app will redirect guest users to the login page. To access the private pages:

  • Create a new user using the registration page
  • Authenticate using the login page

SB Admin - Free Django Template, Login page.


SB Admin Django - UI Tables Page

SB Admin - Free Django Template, UI Tables page.


SB Admin Django - 404 Error Page

SB Admin - Free Django Template, 404 Error Page.


SB Admin Django - Registration Page

SB Admin - Free Django Template, Registration Page.


Thanks for reading! Feel free to ask for help in the comments section.


Discover and read more posts from Adi Chirilov - Sm0ke
get started
post comments1Reply
Blade Nelson
4 years ago

Looks good. Thank you for sharing