In Django 1.4, the function-style template loading is no longer possible, only the class-style template loading (available since Django 1.2) is possible.
Signed-off-by: Thomas Petazzoni <[email protected]> --- www/settings.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/settings.py b/www/settings.py index 82add1c..817a84e 100644 --- a/www/settings.py +++ b/www/settings.py @@ -74,8 +74,8 @@ SECRET_KEY = 'tm+wb)lp5q%br=p0d2toz&km_-w)cmcelv!7inons&^v9(q!d2' # 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', ) -- 1.7.5.4
