forked from DGNum/gestioCOF
33 lines
599 B
Python
33 lines
599 B
Python
"""
|
|
Django development settings for the cof project.
|
|
The settings that are not listed here are imported from .common
|
|
"""
|
|
|
|
import os
|
|
|
|
from .common import * # NOQA
|
|
from .common import BASE_DIR
|
|
|
|
|
|
DEBUG = False
|
|
|
|
ALLOWED_HOSTS = [
|
|
"cof.ens.fr",
|
|
"www.cof.ens.fr",
|
|
"dev.cof.ens.fr"
|
|
]
|
|
|
|
|
|
STATIC_ROOT = os.path.join(
|
|
os.path.dirname(os.path.dirname(BASE_DIR)),
|
|
"public",
|
|
"static",
|
|
)
|
|
|
|
STATIC_URL = "/gestion/static/"
|
|
MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), "media")
|
|
MEDIA_URL = "/gestion/media/"
|
|
|
|
LDAP_SERVER_URL = "ldaps://ldap.spi.ens.fr:636"
|
|
|
|
EMAIL_HOST = "nef.ens.fr"
|