render_to_response uses Context instead DjangoContext
|Reported by:||nesh <nesh [at] studioquattro [dot] co [dot] yu>||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
As far as I can see render_to_response calls render_to_string which by default uses Context. Because of that all DjangoContext stuff (i.e. debug, user, ...) don't work.
I can use render_to_response(..., context_instance=DjangoContext()) but that is almost same as not using render_to_response altogether.
Maybe Context can be raplaced with DjangoContext in loader.py?
Change History (7)
comment:3 Changed 9 years ago by hugo
- Resolution wontfix deleted
- Status changed from closed to reopened
comment:5 Changed 9 years ago by adrian
- Resolution set to wontfix
- Status changed from reopened to closed