AdminLTE

AdminLTE#

Django Theme AdminLTE is a standalone library for UI and Django ADMIN Section

👉 New to AppSeed? Join our 8k+ Community using GitHub One-Click SignIN.

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):

core/settings.py#
INSTALLED_APPS = [
    ...
    'admin_adminlte.apps.AdminAdminlteConfig',
    'django.contrib.admin',
    ...
]

Add LOGIN_REDIRECT_URL and EMAIL_BACKEND of your Django project settings.py file:

core/settings.py#
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

Steps to start the project#
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.

Django AdminLTE - Open-source Starter styled with AdminLTE design

Resources#

  • 👉 New to AppSeed? Join our 8k+ 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