1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 02:43:01 +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: try:
#in secrets.py defines everything you want #in secrets.py defines everything you want
from .secrets import * from .secrets import *
INSTALLED_APPS += OPTIONAL_APPS
except ImportError: except ImportError:
pass pass

View File

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