From 0720106f09768c36c94d7ad705e5cf526891dfe6 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 31 Mar 2012 18:42:40 +0200 Subject: [PATCH] adapt settings for Django 1.4 --- pyweb/settings.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyweb/settings.py b/pyweb/settings.py index 79b344b..5656a5b 100644 --- a/pyweb/settings.py +++ b/pyweb/settings.py @@ -230,8 +230,9 @@ except NameError: # 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.Loader', ) MIDDLEWARE_CLASSES = ( @@ -257,7 +258,7 @@ TEMPLATE_DIRS.extend(( )) TEMPLATE_CONTEXT_PROCESSORS = [ - "django.core.context_processors.auth", + "django.contrib.auth.context_processors.auth", "django.core.context_processors.debug", "django.core.context_processors.i18n", "django.core.context_processors.media",