]> git.ozlabs.org Git - patchwork/blobdiff - apps/settings.py
settings: Use class-based template loading API
[patchwork] / apps / settings.py
index 7523099374cc09922008bc3cb3ddc3f81b101842..b8026a558e60240edc9933b69747ed0b552e8015 100644 (file)
@@ -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',
 )