core: add general admin.py loader, remove individual files

This commit is contained in:
Jens Langhammer
2020-05-07 00:05:10 +02:00
parent fff05e35ac
commit 80d90b91e8
22 changed files with 24 additions and 118 deletions

View File

@ -79,7 +79,6 @@ INSTALLED_APPS = [
"drf_yasg",
"guardian",
"django_prometheus",
"passbook.core.apps.PassbookCoreConfig",
"passbook.static.apps.PassbookStaticConfig",
"passbook.admin.apps.PassbookAdminConfig",
"passbook.api.apps.PassbookAPIConfig",
@ -384,3 +383,5 @@ for _app in INSTALLED_APPS:
if DEBUG:
INSTALLED_APPS.append("debug_toolbar")
MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware")
INSTALLED_APPS.append("passbook.core.apps.PassbookCoreConfig")