From fa5334a741f141b8f9cdd200b71cb5211da3560c Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Fri, 20 Mar 2020 20:40:26 +0100 Subject: [PATCH] use the OPTIONALS_APPS from secrets.py --- note_kfet/settings/__init__.py | 2 ++ note_kfet/settings/base.py | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/note_kfet/settings/__init__.py b/note_kfet/settings/__init__.py index 28935deb..0a8ce64d 100644 --- a/note_kfet/settings/__init__.py +++ b/note_kfet/settings/__init__.py @@ -41,6 +41,8 @@ else: try: #in secrets.py defines everything you want from .secrets import * + INSTALLED_APPS += OPTIONAL_APPS + except ImportError: pass diff --git a/note_kfet/settings/base.py b/note_kfet/settings/base.py index 0694390d..566ca295 100644 --- a/note_kfet/settings/base.py +++ b/note_kfet/settings/base.py @@ -39,8 +39,6 @@ INSTALLED_APPS = [ 'polymorphic', 'crispy_forms', 'django_tables2', - 'cas_server', - 'cas', # Django contrib 'django.contrib.admin', 'django.contrib.admindocs',