Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Replaced render_to_response with render #7

Merged
merged 2 commits into from Oct 22, 2012

Conversation

Projects
None yet
2 participants
Contributor

RaphaelKimmig commented Oct 20, 2012

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.

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.

@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()
--------------------
@jacobian

jacobian Oct 20, 2012

Contributor

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

jacobian added a commit that referenced this pull request Oct 22, 2012

Merge pull request #7 from RaphaelKimmig/master
Replaced render_to_response with render

@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