1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #20296 -- Prevented mark_safe() from evaluating lazy objects.

This commit is contained in:
Theo Alexiou
2022-02-18 20:27:05 +01:00
committed by Mariusz Felisiak
parent b626c5a979
commit 659d2421c7
3 changed files with 18 additions and 5 deletions

View File

@@ -312,6 +312,8 @@ Utilities
* ``SimpleLazyObject`` now supports addition operations.
* :func:`~django.utils.safestring.mark_safe` now preserves lazy objects.
Validators
~~~~~~~~~~