1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Add Django OAuth toolkit admin

This commit is contained in:
Alexandre Iooss
2020-09-21 12:15:40 +02:00
parent 6d54aae614
commit 72bac75fbd
3 changed files with 16 additions and 4 deletions

View File

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