Commits

David Chambers  committed e800b02

Updated `html_response` to have it include the request in the `RequestContext`
it creates. As a result, the "request" context processor need not be present
in `TEMPLATE_CONTEXT_PROCESSORS`.

  • Participants
  • Parent commits 38d68a4

Comments (0)

Files changed (1)

     if dict_ is None:
         dict_ = {}
 
+    # provide access to the request (without relying upon a context processor)
+    dict_['request'] = request
+
     # make Mango's settings accessible to templates
     for key, value in mango.settings.__dict__.items():
         if not key.startswith('_'):