summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-11 06:07:16 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 11:49:15 +0100
commit31878b4d7387835c5cec5e7fc5b473b737065a58 (patch)
treeff1958e59283ede666c45e542cc9142f8598b416 /docs
parent182d25eb7a227206746bfa30aab13aaa34d1de84 (diff)
Refs #31026 -- Removed ability to return string when rendering ErrorDict/ErrorList.
Per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/forms/api.txt5
-rw-r--r--docs/releases/5.0.txt3
2 files changed, 3 insertions, 5 deletions
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
index 0bb3730daa..d74fba7476 100644
--- a/docs/ref/forms/api.txt
+++ b/docs/ref/forms/api.txt
@@ -1015,11 +1015,6 @@ Customizing the error list format
overriding the default template, see also
:ref:`overriding-built-in-form-templates`.
-.. deprecated:: 4.0
-
- The ability to return a ``str`` when calling the ``__str__`` method is
- deprecated. Use the template engine instead which returns a ``SafeString``.
-
More granular output
====================
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index e3c1919072..9fc612f418 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -299,6 +299,9 @@ to remove usage of these features.
* The undocumented ``BaseForm._html_output()`` method is removed.
+* The ability to return a ``str``, rather than a ``SafeString``, when rendering
+ an ``ErrorDict`` and ``ErrorList`` is removed.
+
See :ref:`deprecated-features-4.1` for details on these changes, including how
to remove usage of these features.