Browse files

Fixed #18642 - Added a note suggesting the use of render() rather tha…

…n render_to_response() if you need RequestContext in your template.
  • Loading branch information...
timgraham committed Sep 1, 2012
1 parent 7089638 commit f99ecaff064af334adfd9a690e77c24ed8b15cbd
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/ref/templates/api.txt
@@ -424,6 +424,10 @@ optional, third positional argument, ``processors``. In this example, the
+ Alternatively, use the :meth:`~django.shortcuts.render()` shortcut which is
+ the same as a call to :func:`~django.shortcuts.render_to_response()` with a
+ context_instance argument that forces the use of a ``RequestContext``.
Here's what each of the default processors does:

0 comments on commit f99ecaf

Please sign in to comment.