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:
parent
1f004191a8
commit
fa5334a741
@ -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
|
||||||
|
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user