diff options
| author | Tim Graham <timograham@gmail.com> | 2018-12-27 19:23:09 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-17 10:50:25 -0500 |
| commit | 573ec714e5f52eccde01bbac3836d0edafcb2c20 (patch) | |
| tree | 21c38c525773f24963afea76135715e5086147d5 /docs/topics/http | |
| parent | 944469939b9eb93fda0924f78faba5c0ffae2dff (diff) | |
Refs #25978 -- Removed shortcuts.render_to_response() per deprecation timeline.
Diffstat (limited to 'docs/topics/http')
| -rw-r--r-- | docs/topics/http/shortcuts.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index 1aca4ce287..a0eac39012 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -81,17 +81,6 @@ This example is equivalent to:: c = {'foo': 'bar'} return HttpResponse(t.render(c, request), content_type='application/xhtml+xml') -``render_to_response()`` -======================== - -.. 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. - ``redirect()`` ============== |
