]> git.ozlabs.org Git - patchwork/commitdiff
settings: Use new class for auth context processor
authorJeremy Kerr <jk@ozlabs.org>
Sun, 17 Jun 2012 07:38:22 +0000 (15:38 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 8 Oct 2012 01:41:01 +0000 (09:41 +0800)
Since django 1.2 auth module is in contrib, not core.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/settings.py

index cf4094110627c3c64ea9ec8ff50eeaa47ffe0828..eabeffdbf5fcbd86565b62e166c7c2cbf93329dc 100644 (file)
@@ -83,7 +83,7 @@ MEDIA_ROOT = os.path.join(
     ROOT_DIR, 'lib', 'python', 'django', 'contrib', 'admin', 'media')
 
 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")