diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.0.txt | 2 | ||||
| -rw-r--r-- | docs/topics/http/shortcuts.txt | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index 4639706146..c07a995bd6 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -238,6 +238,8 @@ to remove usage of these features. * The ``django.db.backends.postgresql_psycopg2`` module is removed. +* ``django.shortcuts.render_to_response()`` is removed. + See :ref:`deprecated-features-2.1` for details on these changes, including how to remove usage of these features. 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()`` ============== |
