From bec2e1fa201c78b8f03b8b6bc2ac1b74e358b1ea Mon Sep 17 00:00:00 2001 From: Friedel Wolff Date: Tue, 21 May 2024 11:42:56 +0200 Subject: [PATCH] Limit TEMPLATES.DIRS to minimal needed Needed for upcoming commit that validates templates. --- app/app/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/app/settings.py b/app/app/settings.py index 77a1f8cc..53d841ec 100644 --- a/app/app/settings.py +++ b/app/app/settings.py @@ -73,8 +73,7 @@ { "BACKEND": "django.template.backends.django.DjangoTemplates", "DIRS": [ - BASE_DIR, - "templates", + BASE_DIR / "templates", ], "APP_DIRS": True, "OPTIONS": {