mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Refs #34609 -- Removed support for calling format_html() without arguments per deprecation timeline.
This commit is contained in:
parent
8081557508
commit
1e331911a8
4 changed files with 6 additions and 21 deletions
|
|
@ -687,11 +687,6 @@ escaping HTML.
|
|||
through :func:`conditional_escape` which (ultimately) calls
|
||||
:func:`~django.utils.encoding.force_str` on the values.
|
||||
|
||||
.. deprecated:: 5.0
|
||||
|
||||
Support for calling ``format_html()`` without passing args or kwargs is
|
||||
deprecated.
|
||||
|
||||
.. function:: format_html_join(sep, format_string, args_generator)
|
||||
|
||||
A wrapper of :func:`format_html`, for the common case of a group of
|
||||
|
|
|
|||
|
|
@ -265,6 +265,9 @@ to remove usage of these features.
|
|||
* ``request`` is required in the signature of ``ModelAdmin.lookup_allowed()``
|
||||
subclasses.
|
||||
|
||||
* Support for calling ``format_html()`` without passing args or kwargs is
|
||||
removed.
|
||||
|
||||
See :ref:`deprecated-features-5.1` for details on these changes, including how
|
||||
to remove usage of these features.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue