Add RequestContext in middlewares or in templates
|Reported by:||xin@…||Owned by:||nobody|
|Severity:||Keywords:||request context templates middleware|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
More times, when anyone use a extern django application, if this do not add a request context in the render_to_response, the parent templates can not print his data that a middlweare put in HttpRequest.
For this, I think is a good idea set the adding of request context in the context of templates, from the settings, o directly from the templates.
Templatetags and filters do not permit access to request data for use his values.