This is how our good old default Django Admin Panel looks like:
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:
- For this blog, we will be using
django-jazzmina 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.pyfile. Keep in mind that to let
django-jazzminoverride 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.