From 094b0bea2ce76db9d3dc06c384d4ac3b22705810 Mon Sep 17 00:00:00 2001 From: devilsautumn Date: Tue, 6 Jun 2023 14:26:53 +0530 Subject: Fixed #34609 -- Deprecated calling format_html() without arguments. --- docs/ref/utils.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index e37e59ddf2..acbe5d51a6 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -651,6 +651,11 @@ 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 -- cgit v1.3