Admin Modernize

Admin Modernize#

Modern template for Django Admin Section, Auth Pages (registration included) crafted on top of Modernize Dashboard, an open-source Bootstrap 5 design.

👉 New to App-Generator? SignIN with GitHub or Download a PRO Starter for only $19.99/mo

Features#

  • Design: Modernize Bootstrap 5

  • Sections Covered:
    • Admin Section, reserved for superusers

    • All pages managed by Django.contrib.AUTH

    • Registration page

    • Misc pages: colors, icons, typography, blank-page

Django Modernize - open-source Django Admin Theme built on top of Modernize Design from AdminMart

Why Django Modernize#

  • Modern Bootstrap 5 Design

  • Responsive Interface

  • Minimal Template overriding

  • Easy integration

Installation#

$ pip install django-admin-modernize
// OR
$ pip install git+https://github.com/app-generator/django-admin-modernize.git

Add admin_modernize 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_modernize.apps.AdminModernizeConfig',
    '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_modernize routing in your Django Project urls.py file

from django.urls import path, include

urlpatterns = [
    ...
    path('', include('admin_modernize.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 Modernize - open-source Django Admin Theme built on top of Modernize Design from AdminMart