summaryrefslogtreecommitdiff
path: root/docs/topics/http
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-11 05:49:04 -0500
committerGitHub <noreply@github.com>2017-02-11 05:49:04 -0500
commit7b6e42089c9d5ff2dcbfee4005f72cd42728222e (patch)
treeca0aec79f200f8abd7a1c2610b2e5b700627c582 /docs/topics/http
parent0166dd2f8c54b62a65735c395825b66eeb39788c (diff)
Fixed #25978 -- Deprecated shorcuts.render_to_response().
Diffstat (limited to 'docs/topics/http')
-rw-r--r--docs/topics/http/shortcuts.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
index 705de11b69..51a39c88a1 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -86,9 +86,11 @@ This example is equivalent to::
.. function:: render_to_response(template_name, context=None, content_type=None, status=None, using=None)
+ .. deprecated:: 2.0
+
This function preceded the introduction of :func:`render` and works
similarly except that it doesn't make the ``request`` available in the
- response. It's not recommended and is likely to be deprecated in the future.
+ response.
``redirect()``
==============