1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Admin is autodiscovering partially

This commit is contained in:
Alexandre Iooss 2020-09-21 12:34:34 +02:00
parent 72bac75fbd
commit 4f188ca3e5

View File

@ -38,9 +38,8 @@ INSTALLED_APPS = [
'oauth2_provider', 'oauth2_provider',
# Django contrib # Django contrib
# We do not import Django Admin directly to disable autodiscover. # Django Admin will autodiscover our apps for our custom admin site.
# Autodiscover does not work with custom admin sites. 'django.contrib.admin',
'django.contrib.admin.apps.SimpleAdminConfig',
'django.contrib.admindocs', 'django.contrib.admindocs',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',