...

/

Basics Customization

Basics Customization

Learn about basic design customization and how to create a custom admin class.

Design customization

You will now focus on design. The Django admin lets you override its HTML templates for you to add your own custom elements or even rebrand the full design of the interface.

You can begin with simple things.

You can change the site title and index title easily by configuring the following in urls.py:

admin.site.site_header = "Django Admin Ultimate Guide"
admin.site.site_title = "Django Admin Title"
admin.site.index_title = "Welcome to Ultimate Guide"
  • site_header: The text placed at the top of each admin page, as an <h1> (a string).
...