diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2012-06-17 15:36:41 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2012-10-08 09:40:53 +0800 |
commit | 2324d4467a60664beb730b1db4d067b782089561 (patch) | |
tree | 470aea90a06ba9aaea5eb0bc6fa453b4295027c4 | |
parent | 22ae63301bcba7022e0503654d895137db1fcd1b (diff) | |
download | patchwork-2324d4467a60664beb730b1db4d067b782089561.tar patchwork-2324d4467a60664beb730b1db4d067b782089561.tar.gz |
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>
-rw-r--r-- | apps/settings.py | 4 |
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', ) |