Created
October 4, 2014 11:21
-
-
Save n37r06u3/4d6a60442ebb74b42dbb to your computer and use it in GitHub Desktop.
access request object in django template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf import global_settings | |
TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + ( | |
'django.core.context_processors.request', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment