diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-08-12 20:56:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-12 15:56:00 -0300 |
| commit | 6f0a4c1f3f015f917feb8b34ae24232d14ced04a (patch) | |
| tree | 6c9ae0eaec8da02f705866a050f8fcd1af96c512 /docs | |
| parent | ca47884410acb7cb1d36bc8a573b67a5b197d3e2 (diff) | |
Refs #35648 -- Corrected release notes for SafeString.__add__() changes.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.2.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt index 9b81117095..ccd79bcd48 100644 --- a/docs/releases/5.2.txt +++ b/docs/releases/5.2.txt @@ -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. |
