Skip to main content

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

Project description

=============== django-sb-admin

.. image:: 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

.. image:: 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 %}{% endblock sb_admin_header %} {% block sb_admin_title %}{% endblock sb_admin_title %} {% block sb_admin_sidebar %}{% endblock sb_admin_sidebar %} {% block sb_admin_navbar_right %}{% endblock sb_admin_navbar_right %} {% block sb_admin_content %}{% endblock sb_admin_content %} {% block sb_admin_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

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.5.1.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_sb_admin-5.5.1-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file django-sb-admin-5.5.1.tar.gz.

File metadata

  • Download URL: django-sb-admin-5.5.1.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-sb-admin-5.5.1.tar.gz
Algorithm Hash digest
SHA256 83ca3c6e404a664e2c3e2d025bf51917913a414ad7799bb51f6950145d882077
MD5 bfffa6069919e5703ff9fe9d8c25d24a
BLAKE2b-256 92b3e18f3c7f6537043e09e8f1d00851b4db6a73aa1406ff57081c527942f20e

See more details on using hashes here.

File details

Details for the file django_sb_admin-5.5.1-py3-none-any.whl.

File metadata

  • Download URL: django_sb_admin-5.5.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for django_sb_admin-5.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f0d010a5abd438146db5c3312cc3a03c2c65beed2a3be6d694f393a02d2424a
MD5 2a2b80f3a9292c5a6522291231b571cc
BLAKE2b-256 bcf4fda7bccc5a53971aa1388d70e7b171403e64e6bf3a5c467fcbdeb2f97a4c

See more details on using hashes here.

Supported by

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