Replaced render_to_response with render #7

Merged
merged 2 commits into from Oct 22, 2012

2 participants

@RaphaelKimmig

I've Replaced the render_to_response shortcut with render everywhere because
newer django code tends not to use render_to_response at all. I also
updated text where it refered to render_to_response arguments and the
use of RequestContext with render.

@RaphaelKimmig RaphaelKimmig replace render_to_response with render
Replaced the render_to_response shortcut with render everywhere because
newer django code tends not to use render_to_response at all. Also
updated text where it refered to render_to_response arguments and the
use of RequestContext with render.
a4724d5
@jacobian jacobian commented on an outdated diff Oct 20, 2012
chapter04.rst
@@ -1252,7 +1252,7 @@ directory using the following template code::
Refresh the page in your Web browser, and you should see the fully rendered
page.
-render_to_response()
+render()
--------------------

Please fix the underline - should be the same length as the header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@jacobian jacobian merged commit 583e729 into jacobian-archive:master Oct 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment