I find that just about all of my HttpResponse objects have a
RequestContext inside. How would people feel about adding another
function to django.shortcuts parallel to render_to_response?

Instead of 

t = loader.get_template('foo.html')
return HttpResponse(t.render(RequestContext(request, {'form': form})))

You'd have

return render_with_request_context('foo.html', request, {'form': form})

It ends up not saving that many keystrokes, but the constructors in
constructors in constructors idiom seems more cumbersome.

Thoughts?
Todd

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to