Skip to main content

SB Admin dashboard bootstrap 4 theme packaged as a reusable Django app.

Project description


Django SB Admin is a resuable Django app which provides a Bootstrap 4 SB Admin dashboard theme:

SB Admin is a free to download Bootstrap admin template. This template uses the default Bootstrap 3 styles along with a variety of powerful jQuery plugins to create a powerful framework for creating admin panels, web apps, or back-end dashboards.


  1. Install an app:

    pip install django-sb-admin
  2. Add “django_sb_admin” to your INSTALLED_APPS setting like this:

  3. If you want to see an example app, add following to your urls file:

    path('django-sb-admin/', include('django_sb_admin.urls')),

  1. Copy following blank template:



  1. Extend a base template:

    {% extends "django_sb_admin/base.html" %}

and then:

  1. Override following blocks:

    {% block sb_admin_header %}<!-- Header of the page -->{% endblock sb_admin_header %}
    {% block sb_admin_title %}<!-- Title of the content the page -->{% endblock sb_admin_title %}
    {% block sb_admin_sidebar %}<!-- left sidebar -->{% endblock sb_admin_sidebar %}
    {% block sb_admin_navbar_right %}<!-- right top navbar -->{% endblock sb_admin_navbar_right %}
    {% block sb_admin_content %}<!-- content -->{% endblock sb_admin_content %}
    {% block sb_admin_copyright %}<!-- copyright -->{% endblock sb_admin_copyright %}

To use included login page put following in your

url(r'^accounts/login/$', auth_views.login,
    {'template_name': 'django_sb_admin/examples/login.html'}),


Template blocks

  • Names of blocks start with sb_admin


  • login template

  • messages support in a base template


Copyright 2015-2019 Rafal Zawadzki

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SB Admin itself is licensed under the MIT License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-sb-admin- (5.9 MB view hashes)

Uploaded Source

Built Distribution

django_sb_admin- (6.4 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page