Search⌘ K
AI Features

Wiring Custom Admin Site Instances

Explore how to safely customize the default Django admin interface and create multiple admin site instances for different operational roles. Learn to implement branding, route custom admin portals, and register models explicitly to build flexible and isolated administration environments.

We have built a highly functional administration panel, but it still carries the generic Django branding. When we hand this application over to stakeholders, they expect a customized interface. Furthermore, complex projects often require completely separate administrative portals. A system administrator needs access to everything, while a daily content editor should only see specific data entry forms. We must establish how to safely customize the default interface and when to construct entirely independent site instances to serve different operational needs.

Customizing the default admin site

For simpler applications, modifying the default Django admin site is perfectly sufficient. We can rebrand the interface by overriding three string properties directly on the global admin.site object.

We use site_header to change the main logo text at the top of the page. We use site_title to change the browser tab text. We use index_title to change the welcome text on the main dashboard.

We also frequently need to declutter this default dashboard. By default, Django registers the User and Group ...