...

/

Admin Branding Customization

Admin Branding Customization

Learn the basics of admin branding customization.

We'll cover the following...

Rebranding customization

This lesson will teach you how to rebrand the Django admin interface to attain something more modern.

To do this you need to understand how the rendering of Django Admin templates works . As you have already seen, all the default Django templates are located on the following path:

<virtual_env_name>/lib/python<version_of_python>/site-packages/django/contrib/admin/templates/admin

The main root file is base.html. The second most important file is base_site.html which extends the base.html file. Any other templates will extend the base_site.html

Here is a summary of the main templates used based on URLs:

Django Url Template used Definition
/ index.html Admin homepage
...