mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Deprecated current_app in TemplateResponse and render(_to_response).
This commit is contained in:
parent
e53495ba33
commit
cf1f36bb6e
18 changed files with 197 additions and 56 deletions
|
@ -90,6 +90,14 @@ details on these changes.
|
|||
* The backwards compatibility alias ``django.template.loader.BaseLoader`` will
|
||||
be removed.
|
||||
|
||||
* The ``current_app`` parameter for the following function and classes will be
|
||||
removed:
|
||||
|
||||
* ``django.shortcuts.render()``
|
||||
* ``django.template.Context()``
|
||||
* ``django.template.RequestContext()``
|
||||
* ``django.template.response.TemplateResponse()``
|
||||
|
||||
* The ``dictionary`` and ``context_instance`` parameters for the following
|
||||
functions will be removed:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue