aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-06-19 15:36:35 +0200
committerMichał Górny <mgorny@gentoo.org>2013-06-19 15:50:23 +0200
commit45041b0ade60bc82c1e0e2fc14f7205366360df6 (patch)
treebd3aaa51a2a2046e72c11ebeafaa167d1c30c7c5 /okupy/settings/__init__.py
parent[OpenID] Support minimal site auth. (diff)
downloadidentity.gentoo.org-45041b0ade60bc82c1e0e2fc14f7205366360df6.tar.gz
identity.gentoo.org-45041b0ade60bc82c1e0e2fc14f7205366360df6.tar.bz2
identity.gentoo.org-45041b0ade60bc82c1e0e2fc14f7205366360df6.zip
[OpenID] Explicitly note that login is requested by OpenID request.
Diffstat (limited to 'okupy/settings/__init__.py')
-rw-r--r--okupy/settings/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/okupy/settings/__init__.py b/okupy/settings/__init__.py
index c3decde..6b28cb3 100644
--- a/okupy/settings/__init__.py
+++ b/okupy/settings/__init__.py
@@ -113,3 +113,7 @@ AUTHENTICATION_BACKENDS = (
# email sending variables regarding server authentication
# and configuration should be specified in local_settings
EMAIL_SUBJECT_PREFIX = '[%s]: ' % INSTANCE_NAME
+
+TEMPLATE_CONTEXT_PROCESSORS += (
+ 'django.core.context_processors.request',
+)