If you want to override the site header and site title in your Django admin, most people start with overriding the admin templates. Even though that's a perfectly fine approach, I prefer to do it differently.
I first start with creating a subclass of
from django.contrib import adminclass YellowDuckAdminSite(admin.AdminSite):site_header = "YellowDuck.be"site_title = "YellowDuck.be"
Then, you need to use it as the
default_site for your
from django.contrib.admin.apps import AdminConfigclass YellowDuckAdminConfig(AdminConfig):default_site = 'mysite.admin.YellowDuckAdminSite'
As the last step, you need to replace
django.contrib.admin with your admin config class:
INSTALLED_APPS = [...'mysite.apps.YellowDuckAdminConfig', # replaces django.contrib.admin...]
You can find more info in the documentation about this approach.