django/tests/admin_default_site/apps.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
217 B
Python
Raw Normal View History

from django.contrib.admin.apps import SimpleAdminConfig
class MyCustomAdminConfig(SimpleAdminConfig):
verbose_name = "My custom default admin site."
default_site = "admin_default_site.sites.CustomAdminSite"