mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
[1.8.x] Fixed #25963 -- Clarified render_to_response() context_instance deprecation.
Backport of 36d0aa4303 from stable/1.9.x
This commit is contained in:
@@ -162,7 +162,8 @@ Optional arguments
|
||||
|
||||
.. deprecated:: 1.8
|
||||
|
||||
The ``context_instance`` argument is deprecated. Simply use ``context``.
|
||||
The ``context_instance`` argument is deprecated. Use the :func:`render`
|
||||
function instead which always makes ``RequestContext`` available.
|
||||
|
||||
``content_type``
|
||||
The MIME type to use for the resulting document. Defaults to the value of
|
||||
|
||||
Reference in New Issue
Block a user