mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Deprecated current_app in TemplateResponse and render(_to_response).
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user