1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #25978 -- Deprecated shorcuts.render_to_response().

This commit is contained in:
Tim Graham
2017-02-11 05:49:04 -05:00
committed by GitHub
parent 0166dd2f8c
commit 7b6e42089c
6 changed files with 58 additions and 36 deletions

View File

@@ -297,6 +297,10 @@ Miscellaneous
``'django.db.backends.postgresql_psycopg2'``, though you can simplify that by
using the ``'django.db.backends.postgresql'`` name added in Django 1.9.
* ``django.shortcuts.render_to_response()`` is deprecated in favor of
:func:`django.shortcuts.render`. ``render()`` takes the same arguments
except that is also requires a ``request``.
.. _removed-features-2.0:
Features removed in 2.0