from django.apps import AppConfig from django.contrib.admin.apps import AdminConfig class CustomAdminConfig(AdminConfig): default_site = 'myproject.admin.CustomAdminSite' class SharedConfig(AppConfig): name = 'shared'