Skip to main content
https://devcarpet.net/images/django-sb-admin-2.png

Introduction

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

https://startbootstrap.com/templates/sb-admin/

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.

Installation

  1. Install an app:

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

    INSTALLED_APPS = (
        ...
        'django_sb_admin',
    )
  3. If you want to see an example app, add following to your urls file:

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

Usage

https://devcarpet.net/images/django-sb-admin-2.01.png
  1. Copy following blank template:

    django_sb_admin/sb_admin_blank.html

or:

  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 urls.py:

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

Conventions

Template blocks

  • Names of blocks start with sb_admin

Extras

  • login template

  • messages support in a base template

License

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

http://www.apache.org/licenses/LICENSE-2.0

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 https://github.com/BlackrockDigital/startbootstrap-sb-admin/blob/master/LICENSE

Release files for django-sb-admin 5.5.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-sb-admin 5.5.1.1
File Size Uploaded
django-sb-admin-5.5.1.1.tar.gz 5.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-sb-admin 5.5.1.1
File Interpreter ABI Platform
django_sb_admin-5.5.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 MB

Release files / django-sb-admin-5.5.1.1.tar.gz

Download URL django-sb-admin-5.5.1.1.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
462361434b4e964d517094a0fdefbf227dfa04b1a131dcf50b9276f5cd820c88
BLAKE2b-256 checksum
How to use checksums
80d5927c816b832ac61ecb8101c631b561ad8f83f4760a40272c5ae826df02b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.40.2 CPython/3.6.5

Release files / django_sb_admin-5.5.1.1-py3-none-any.whl

Download URL django_sb_admin-5.5.1.1-py3-none-any.whl
Size 6.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3f13e48504fa941014a4eeb154e587b2e8317ae356e95940834171be1735a85c
BLAKE2b-256 checksum
How to use checksums
43f5686402daf0e8c28a3db5a9299cd75fdd83aec4f38470cf5345de2fd3fb88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.40.2 CPython/3.6.5

Release history Release notifications | RSS feed

This release

5.5.1.1 This release

2 release files

5.5.1

2 release files

0.3.7

2 release files

0.3.6

1 release file

0.3.5

1 release file

0.3.4

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page