also variablize DEBUG
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
pierre geeraert
2026-03-16 21:03:28 +00:00
parent 4a028c04c9
commit 8be8b44584
+1 -2
View File
@@ -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