How to customize & redesign the Django Admin panel?

How to customize & redesign the Django Admin panel?

Look at you gorgeous beauty, 😘 Django

Gaurav Sharma's photo
Gaurav Sharma
·May 26, 2022·

1 min read

Subscribe to our newsletter and never miss any upcoming articles

Play this article

Introduction:

This is how our good old default Django Admin Panel looks like: image.png

Ewww, not that great, could have been better Django darling. But no worries, we have got many Open Source 3rd party libraries which can turn our Admin Panel into something like this: image.png

Steps:

  • For this blog, we will be using django-jazzmin a third party Open Source library. Let’s install it first:
pip install django-jazzmin
  • It's time to add it in our Django’s installed apps list in settings.py file. Keep in mind that to let django-jazzmin override your admin templates correctly, we have to put it at the top of the installed apps list.
INSTALLED_APPS = [
    'jazzmin',

    'django.contrib.admin',
    # ...
]

That's it, go and check out your Django Admin panel now, you will see a beautiful look with many customizations.

For more such crispy blogs daily, follow Dev.Junction, subscribe to our newsletter and get notified.

 
Share this