How to Change the Django Admin Panel Header Name

By default the main heading at the top left of the Django admin panel is "Django Administration" – in most cases we will want to replace this with the name of our app.

 

To change the name of the admin panel header, set a new value to the admin.site.site_header property.

 

Open the admin.py file in your app and set the site_header property like this:

 

/apps/your_project/src/your_app/admin.py
from django.contrib import admin

# Register your models here.

from .models import Contact

admin.site.register(Contact)

admin.site.site_header = 'CalculatorMix Administration'

 

 

That it! You have now replaced the Django branding with your own.

django