This commit is contained in:
Tim Lorsbach
2026-02-12 14:03:10 +01:00
parent 58ab5b33e3
commit 93390b349b
27 changed files with 495 additions and 1871 deletions

View File

@ -53,6 +53,7 @@ INSTALLED_APPS = [
"epapi", # API endpoints (v1, etc.)
"epdb",
"migration",
"bayer",
]
TENANT = os.environ.get("TENANT", "public")
@ -93,10 +94,15 @@ if os.environ.get("REGISTRATION_MANDATORY", False) == "True":
ROOT_URLCONF = "envipath.urls"
TEMPLATE_DIRS = [
os.path.join(BASE_DIR, "bayer", "templates"),
os.path.join(BASE_DIR, "templates"),
]
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": (os.path.join(BASE_DIR, "templates"),),
"DIRS": TEMPLATE_DIRS,
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [