AdminLTE#
Django Theme AdminLTE is a standalone library for UI and Django ADMIN Section
👉 Django AdminLTE - Product that uses the library
👉 Django AdminLTE - PyPi Page
👉 New to App-Generator? Join our 10k+ Community using GitHub One-Click SignIN.
Features#
Design: AdminLTE Bootstrap
- Sections Covered:
Admin Section, reserved for superusers
All pages managed by Django.contrib.AUTH
Registration page
Misc pages: colors, icons, typography, blank-page
Why Django AdminLTE#
Modern Bootstrap Design
Responsive Interface
Minimal Template overriding
Easy integration
Installation#
pip install django-admin-adminlte
// OR
pip install git+https://github.com/app-generator/django-admin-adminlte.git
Add admin_adminlte application to the INSTALLED_APPS Section of your Django project settings.py file (note it should be before django.contrib.admin):
INSTALLED_APPS = [
...
'admin_adminlte.apps.AdminAdminlteConfig',
'django.contrib.admin',
...
]
Add LOGIN_REDIRECT_URL and EMAIL_BACKEND of your Django project settings.py file:
LOGIN_REDIRECT_URL = '/'
# EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
Add admin_adminlte routing in your Django Project urls.py file
from django.urls import path, include
urlpatterns = [
...
path('', include('admin_adminlte.urls')),
]
Start the project now styled with the AdminLTE Design
python manage.py collectstatic
python manage.py runserver # default port 8000
Access the project in your preferred browser and the UI should be styled with the new design.
Links#
👉 New to App-Generator? Join our 10k+ Community using GitHub One-Click SignIN.
👉
Download
products and start fast a new project👉 Bootstrap your startUp, MVP or Legacy project with a custom development sprint