summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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.