diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2012-06-17 15:38:22 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2012-10-08 09:41:01 +0800 |
commit | 9cad811db49b15534c1f926c9b1e24cf038df7e7 (patch) | |
tree | 9fc3458930ad04c75b00aed12afe1cc3c73bc04d /apps/settings.py | |
parent | 2324d4467a60664beb730b1db4d067b782089561 (diff) | |
download | patchwork-9cad811db49b15534c1f926c9b1e24cf038df7e7.tar.bz2 patchwork-9cad811db49b15534c1f926c9b1e24cf038df7e7.tar.xz |
settings: Use new class for auth context processor
Since django 1.2 auth module is in contrib, not core.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/settings.py')
-rw-r--r-- | apps/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.py b/apps/settings.py index cf40941..eabeffd 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -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") |