1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +00:00

use the OPTIONALS_APPS from secrets.py

This commit is contained in:
Pierre-antoine Comby 2020-03-20 20:40:26 +01:00
parent 1f004191a8
commit fa5334a741
2 changed files with 2 additions and 2 deletions

View File

@ -41,6 +41,8 @@ else:
try:
#in secrets.py defines everything you want
from .secrets import *
INSTALLED_APPS += OPTIONAL_APPS
except ImportError:
pass

View File

@ -39,8 +39,6 @@ INSTALLED_APPS = [
'polymorphic',
'crispy_forms',
'django_tables2',
'cas_server',
'cas',
# Django contrib
'django.contrib.admin',
'django.contrib.admindocs',