diff --git a/django_code/django_code/settings.py b/django_code/django_code/settings.py index 20d7239..c45e312 100644 --- a/django_code/django_code/settings.py +++ b/django_code/django_code/settings.py @@ -23,9 +23,8 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-71%)_#e#o9-dl2o^6mfud-*rw+4+8vy-nd*bzeier&(34ap-p9' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = os.getenv("DEBUG") -#ALLOWED_HOSTS = ['django-testing.tryton.geeraert.eu','redirect.tryton.geeraert.eu'] ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",") # Application definition