Remove DIRS from settings.TEMPLATES

It’s more convenient to let the sub-themes declare their own templates (especially with `'APP_DIRS': True`).
This commit is contained in:
David Larlet 2023-06-14 21:15:37 -04:00
parent 411b3245c3
commit bb8d233411
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -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',