Does a Django RequestContext have a way to get the HttpRequest object with which it is associated with? Does it have a method like get_request() or the like to get the request which is passed into the constructor? I need to reference it from a method in which I only receive the RequestContext.
Does a Django RequestContext have a way to get the HttpRequest object with which
Share
Add
'django.core.context_processors.request'toTEMPLATE_CONTEXT_PROCESSORSsettings. And get request where context is available using :