Skip to content
Browse files

[1.4.X] Fixed #18642 - Added a note suggesting the use of render() ra…

…ther than render_to_response() if you need RequestContext in your template.

Backport of f99ecaf from master
  • Loading branch information...
1 parent 90fee02 commit c274a9cbd03bd3a90c2400b6efc63a59c5e64b33 @timgraham timgraham committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/ref/templates/api.txt
4 docs/ref/templates/api.txt
@@ -419,6 +419,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 c274a9c

Please sign in to comment.
Something went wrong with that request. Please try again.