Added templates.loaders settings

This commit is contained in:
Marc Aymerich 2016-05-03 20:24:15 +00:00
parent 5a62b9be85
commit 72ed0c3062
1 changed files with 5 additions and 1 deletions

View File

@ -90,7 +90,6 @@ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [], 'DIRS': [],
'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
'context_processors': [ 'context_processors': [
'django.template.context_processors.debug', 'django.template.context_processors.debug',
@ -99,6 +98,11 @@ TEMPLATES = [
'django.contrib.messages.context_processors.messages', 'django.contrib.messages.context_processors.messages',
'orchestra.core.context_processors.site', 'orchestra.core.context_processors.site',
], ],
'loaders': [
'admin_tools.template_loaders.Loader',
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
],
}, },
}, },
] ]