work on the URLs
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
pierre.geeraert
2026-09-02 11:47:02 +01:00
parent 08796241a6
commit 93f3646abc
11 changed files with 225 additions and 90 deletions
+8 -2
View File
@@ -69,8 +69,14 @@ MIDDLEWARE = [
]
ROOT_URLCONF = 'core.urls'
ROOT_HOSTCONF = 'core.hosts'
DEFAULT_HOST = 'django-testing'
ENVIRONMENT = os.getenv("ENVIRONMENT","TESTING")
if ENVIRONMENT == "PRODUCTION":
ROOT_HOSTCONF = 'core.hosts'
else:
ROOT_HOSTCONF = 'core.hosts-testing'
DEFAULT_HOST = 'admin'
TEMPLATES = [