enable the "events" app in CI
This commit is contained in:
parent
34e552f760
commit
8119591c62
1 changed files with 3 additions and 1 deletions
|
@ -6,12 +6,14 @@ The settings that are not listed here are imported from .common
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from .common import * # NOQA
|
from .common import * # NOQA
|
||||||
from .common import BASE_DIR, import_secret
|
from .common import BASE_DIR, INSTALLED_APPS, TESTING, import_secret
|
||||||
|
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["cof.ens.fr", "www.cof.ens.fr", "dev.cof.ens.fr"]
|
ALLOWED_HOSTS = ["cof.ens.fr", "www.cof.ens.fr", "dev.cof.ens.fr"]
|
||||||
|
|
||||||
|
if TESTING:
|
||||||
|
INSTALLED_APPS.append("events")
|
||||||
|
|
||||||
STATIC_ROOT = os.path.join(
|
STATIC_ROOT = os.path.join(
|
||||||
os.path.dirname(os.path.dirname(BASE_DIR)), "public", "gestion", "static"
|
os.path.dirname(os.path.dirname(BASE_DIR)), "public", "gestion", "static"
|
||||||
|
|
Loading…
Reference in a new issue