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:
2023-08-11 16:23:42 +00:00
parent e9e3d2dacb
commit df2cd4cfa3

View File

@@ -1,4 +1,4 @@
"""
"""
Django settings for Reskreen project.
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'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = cfg_dev_mode
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]