mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Deprecated some arguments of django.shortcuts.render(_to_response).
dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms.
This commit is contained in:
parent
a0141f9eac
commit
fdbfc98003
12 changed files with 137 additions and 92 deletions
|
@ -93,6 +93,8 @@ details on these changes.
|
|||
* The ``dictionary`` and ``context_instance`` parameters for the following
|
||||
functions will be removed:
|
||||
|
||||
* ``django.shortcuts.render()``
|
||||
* ``django.shortcuts.render_to_response()``
|
||||
* ``django.template.loader.render_to_string()``
|
||||
|
||||
* The ``dirs`` parameter for the following functions will be removed:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue