Actualiser Reskreen/settings.py
Changement de sécurité sur la configuration DEBUG Signed-off-by: Brocas Mathieu <brocasm@resk-u.ch>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
"""
|
"""
|
||||||
Django settings for Reskreen project.
|
Django settings for Reskreen project.
|
||||||
|
|
||||||
Generated by 'django-admin startproject' using Django 4.0.
|
Generated by 'django-admin startproject' using Django 4.0.
|
||||||
@@ -25,7 +25,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||||||
SECRET_KEY = 'django-insecure-j4jd&+4j^t_=@zr(#q@n!8e*58vkql6&_6w-t14ju8pw%ei%^s'
|
SECRET_KEY = 'django-insecure-j4jd&+4j^t_=@zr(#q@n!8e*58vkql6&_6w-t14ju8pw%ei%^s'
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = cfg_dev_mode
|
||||||
|
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]
|
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]
|
||||||
|
Reference in New Issue
Block a user