mirror of https://github.com/django/django.git
Refs #35648 -- Corrected release notes for SafeString.__add__() changes.
This commit is contained in:
parent
ca47884410
commit
6f0a4c1f3f
|
@ -262,8 +262,8 @@ URLs
|
|||
Utilities
|
||||
~~~~~~~~~
|
||||
|
||||
* :class:`~django.utils.safestring.SafeString` now raises
|
||||
:exc:`NotImplementedError` in ``__add__`` for non-string right-hand side
|
||||
* :class:`~django.utils.safestring.SafeString` now returns
|
||||
:py:data:`NotImplemented` in ``__add__`` for non-string right-hand side
|
||||
values. This aligns with the :py:class:`str` addition behavior and allows
|
||||
``__radd__`` to be used if available.
|
||||
|
||||
|
|
Loading…
Reference in New Issue