summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2012-06-17 15:36:41 +0800
committerJeremy Kerr <jk@ozlabs.org>2012-10-08 09:40:53 +0800
commit2324d4467a60664beb730b1db4d067b782089561 (patch)
tree470aea90a06ba9aaea5eb0bc6fa453b4295027c4 /apps
parent22ae63301bcba7022e0503654d895137db1fcd1b (diff)
downloadpatchwork-2324d4467a60664beb730b1db4d067b782089561.tar.bz2
patchwork-2324d4467a60664beb730b1db4d067b782089561.tar.xz
settings: Use class-based template loading API
The TEMPLATE_LOADERS setting changed in django-1.2. Template loaders are now based on calsses rather than callables. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.py b/apps/settings.py
index 3d929bc..cf40941 100644
--- a/apps/settings.py
+++ b/apps/settings.py
@@ -49,8 +49,8 @@ SECRET_KEY = '00000000000000000000000000000000000000000000000000'
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
- 'django.template.loaders.filesystem.load_template_source',
- 'django.template.loaders.app_directories.load_template_source',
+ 'django.template.loaders.filesystem.Loader',
+ 'django.template.loaders.app_directories.Loader',
# 'django.template.loaders.eggs.load_template_source',
)