From ca5e734896887b42ffd4b53dda32d4f7173663a1 Mon Sep 17 00:00:00 2001 From: Brian Moe <brian.moe@ligo.org> Date: Tue, 20 Dec 2011 14:35:37 -0600 Subject: [PATCH] Django 1.3 deprecation fixes. (missed in last commit) --- settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index 9a1a10798..05f8c9021 100644 --- a/settings.py +++ b/settings.py @@ -113,13 +113,17 @@ SECRET_KEY = '$$&hl%^_4&s0k7sbdr8ll_^gkz-j8oab0tz$t^^b-%$!83d(av' # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( - 'django.template.loaders.filesystem.load_template_source', + #'django.template.loaders.filesystem.load_template_source', + # replaced by... + 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.load_template_source', # 'django.template.loaders.eggs.load_template_source', ) TEMPLATE_CONTEXT_PROCESSORS = ( - "django.core.context_processors.auth", + #"django.core.context_processors.auth", + # replaced by... + "django.contrib.auth.context_processors.auth", "django.core.context_processors.debug", "django.core.context_processors.i18n", "django.core.context_processors.media", -- GitLab