diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2012-06-17 15:36:41 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2012-06-17 16:10:24 +0800 |
commit | e5dbc3283ce9b3ea817339cc0ec3056f04fbf897 (patch) | |
tree | 838da0b5f8590a8f0c61b7c7bc232378fb9bd9f1 /apps | |
parent | 7a79c1a2e4b2ceaf2668fa671f2db98c0de7b724 (diff) | |
download | patchwork-e5dbc3283ce9b3ea817339cc0ec3056f04fbf897.tar.bz2 patchwork-e5dbc3283ce9b3ea817339cc0ec3056f04fbf897.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.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.py b/apps/settings.py index 7523099..b8026a5 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', ) |