Make TEMPLATES.DIRS a list to make overridable more easily
This commit is contained in:
parent
b0690c0683
commit
65b771a362
1 changed files with 2 additions and 2 deletions
|
@ -103,9 +103,9 @@ TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
'APP_DIRS': True,
|
'APP_DIRS': True,
|
||||||
'DIRS': (
|
'DIRS': [
|
||||||
os.path.join(PROJECT_DIR, 'templates'),
|
os.path.join(PROJECT_DIR, 'templates'),
|
||||||
),
|
],
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': (
|
'context_processors': (
|
||||||
"django.contrib.auth.context_processors.auth",
|
"django.contrib.auth.context_processors.auth",
|
||||||
|
|
Loading…
Reference in a new issue