A Bootstrap template for Django Admin
Project description
Django Stisla is a Bootstrap 4 based admin template for Django admin interface developed using the stisla free bootstrap admin template.
Installation
Install the package from PyPi:
pip install django-stisla
Quick start
Add “django_stisla.apps.admin” with “django.contrib.admin” & “django.contrib.auth” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'django_stisla.apps.admin', 'django.contrib.admin', 'django.contrib.auth', ... ]
Make sure django.template.context_processors.request is enabled in project settings.py:
TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ ... 'django.template.context_processors.request', ... ], }, }, ]
Include the admin URLconf in your project urls.py like this:
... from django_stisla import admin ... urlpatterns = [ ... path('admin/', admin.site.urls), ... ]
You can set following theme configurations in URLconf:
... admin.site.site_header = "Django administration" admin.site.site_title = "Django site admin" admin.site.index_title = "Site administration" admin.site.site_short_title = "DJ" ...
Start the development server and visit http://127.0.0.1:8000/admin/ to see your newly installed Django Stisla for admin.
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
Built Distribution
Hashes for django_stisla-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b21b38e0e16a8e278187ae3c9053bd1a870739429ffc5f5dc626b32dd792ffe |
|
MD5 | bad1f9cd2338d47e016a2144823b3110 |
|
BLAKE2b-256 | 0ed28caea34ced0e0d33dafeaa620d6e8cdcf807c9ab00b83a77bf1ee0429662 |