We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca47884 commit 6f0a4c1Copy full SHA for 6f0a4c1
docs/releases/5.2.txt
@@ -262,8 +262,8 @@ URLs
262
Utilities
263
~~~~~~~~~
264
265
-* :class:`~django.utils.safestring.SafeString` now raises
266
- :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
267
values. This aligns with the :py:class:`str` addition behavior and allows
268
``__radd__`` to be used if available.
269
0 commit comments