From 8119591c62228346faa3be505514b468015bbe41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sat, 5 Oct 2019 17:50:28 +0200 Subject: [PATCH] enable the "events" app in CI --- cof/settings/prod.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cof/settings/prod.py b/cof/settings/prod.py index 9e355ccb..8db28958 100644 --- a/cof/settings/prod.py +++ b/cof/settings/prod.py @@ -6,12 +6,14 @@ The settings that are not listed here are imported from .common import os from .common import * # NOQA -from .common import BASE_DIR, import_secret +from .common import BASE_DIR, INSTALLED_APPS, TESTING, import_secret DEBUG = False ALLOWED_HOSTS = ["cof.ens.fr", "www.cof.ens.fr", "dev.cof.ens.fr"] +if TESTING: + INSTALLED_APPS.append("events") STATIC_ROOT = os.path.join( os.path.dirname(os.path.dirname(BASE_DIR)), "public", "gestion", "static"