1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +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',
# Django contrib
# We do not import Django Admin directly to disable autodiscover.
# Autodiscover does not work with custom admin sites.
'django.contrib.admin.apps.SimpleAdminConfig',
# Django Admin will autodiscover our apps for our custom admin site.
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.auth',
'django.contrib.contenttypes',