From bb8d23341199f08e9ee66a6490fc0d65c8826c0f Mon Sep 17 00:00:00 2001 From: David Larlet Date: Wed, 14 Jun 2023 21:15:37 -0400 Subject: [PATCH] Remove `DIRS` from `settings.TEMPLATES` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s more convenient to let the sub-themes declare their own templates (especially with `'APP_DIRS': True`). --- umap/settings/base.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/umap/settings/base.py b/umap/settings/base.py index ba739653..f4e5f192 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -169,9 +169,6 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, - 'DIRS': [ - os.path.join(PROJECT_DIR, 'templates'), - ], 'OPTIONS': { 'context_processors': ( 'django.contrib.auth.context_processors.auth',