jadolg / webpymail

Automatically exported from code.google.com/p/webpymail
GNU General Public License v3.0
0 stars 0 forks source link

[feature-request] Add RequestContext to render #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
By default shortcut render_to_response does not use RequestContext to render 
templates (it uses Context by default). But RequestContext processor makes 
possible using TEMPLATE_CONTEXT_PROCESSORS.
What do you think about setting RequestContext the main context processor?
(You can add it by passing context_instance=RequestContext(request) to 
render_to_response)

Original issue reported on code.google.com by akimov.alex on 23 Sep 2010 at 1:45

GoogleCodeExporter commented 9 years ago
No problem, it's even necessary to have stuff like 'MEDIA_URL' available to the 
templates.

Original comment by hguerreiro@gmail.com on 24 Sep 2010 at 7:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r100.

Original comment by hguerreiro@gmail.com on 26 Sep 2010 at 12:19