Make TEMPLATES.DIRS a list to make overridable more easily

This commit is contained in:
Yohan Boniface 2016-06-24 11:17:17 +02:00
parent b0690c0683
commit 65b771a362

View file

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