On 12/01/2010 02:52 PM, Łukasz Rekucki wrote:
Lots of people find render_to_response so verbose, that they are using direct_to_template() view instead. Django 1.3 deprecates that one, so it would be fair to offer those people a replacement. Forcing them at the same time into the world of lazy baked responses isn't very fair, imho.
It's not "forcing". TemplateResponse is a transparent replacement for HttpResponse. Normal response middleware shouldn't event notice that it's working with a TemplateResponse (modulo possible bugs in its implementation).
-- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
