#20296: django.utils.safestring.mark_safe forces evaluation of lazy objects
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Theofilos
| Alexiou
Type: New feature | Status: assigned
Component: Utilities | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Theofilos Alexiou):
* owner: nobody => Theofilos Alexiou
* status: new => assigned
Comment:
This should be an easy fix now I believe. `mark_safe` no longer operates
on both bytes and text, so wrapping it with `keep_lazy` (the new
`allow_lazy`) should solve the issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/20296#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.a83e638ed96dbb3dad231a61a4398625%40djangoproject.com.