Merge pull request #1142 from umap-project/no-templates-dirs

Remove `DIRS` from `settings.TEMPLATES`
This commit is contained in:
Yohan Boniface 2023-06-15 07:37:59 +02:00 committed by GitHub
commit 03b6f94a79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,9 +169,6 @@ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True, 'APP_DIRS': True,
'DIRS': [
os.path.join(PROJECT_DIR, 'templates'),
],
'OPTIONS': { 'OPTIONS': {
'context_processors': ( 'context_processors': (
'django.contrib.auth.context_processors.auth', 'django.contrib.auth.context_processors.auth',