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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user