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