Re: render_to_response in Django 1.8 missing a request parameter?

2015-04-07 Thread Stephen Brooks
function when you want a request > context. > > See https://docs.djangoproject.com/en/1.8/topics/http/shortcuts/#render > > On 7 April 2015 at 11:28, Stephen Brooks > > wrote: > >> I note from the release notes for Django 1.8 >> https://docs.djangoproject.

render_to_response in Django 1.8 missing a request parameter?

2015-04-07 Thread Stephen Brooks
I note from the release notes for Django 1.8 https://docs.djangoproject.com/en/1.8/releases/1.8/ the remark under the section: "dictionary and context_instance arguments of rendering functions" (which includes django.shortcuts.render_to_response()) "If you’re passing a Context

Re: Django Middleware Architecture Proposal

2013-11-27 Thread Stephen Brooks
fully backward compatible, and provides a way for application developers to put transaction handling into either outer or inner dispatch functions with leak-proof semantics. Your thoughts please... Any votes for this one? Regards, Stephen Brooks -- You received this message because you are s

Django Middleware Architecture Proposal

2013-11-27 Thread Stephen Brooks
are classes during a deprecation period. Certain use cases (deferred rendering) will be problematic and maybe good solution suggestions will be made for this, otherwise there will be a backward incompatibility for such cases. Comments, suggestions and ideas welcome. I'd like to guage what sup