From 72ed0c3062111c3dddbcc8e287e2ad9c2739662d Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Tue, 3 May 2016 20:24:15 +0000 Subject: [PATCH] Added templates.loaders settings --- orchestra/conf/project_template/project_name/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/orchestra/conf/project_template/project_name/settings.py b/orchestra/conf/project_template/project_name/settings.py index 639bc335..6a7cfe23 100644 --- a/orchestra/conf/project_template/project_name/settings.py +++ b/orchestra/conf/project_template/project_name/settings.py @@ -90,7 +90,6 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], - 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', @@ -99,6 +98,11 @@ TEMPLATES = [ 'django.contrib.messages.context_processors.messages', 'orchestra.core.context_processors.site', ], + 'loaders': [ + 'admin_tools.template_loaders.Loader', + 'django.template.loaders.filesystem.Loader', + 'django.template.loaders.app_directories.Loader', + ], }, }, ]