#33525: decorator @html_safe removes completely old class.__str__ method.
-------------------------------------+-------------------------------------
Reporter: Maxim Danilov | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Utilities | Version: 4.0
Severity: Normal | Resolution: wontfix
Keywords: html_string, | Triage Stage:
SafeString | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => wontfix
Comment:
Thanks for this ticket, however accessing and old `__str__()` method after
`@html_safe` sounds really niche. You can always create your own decorator
for this.
--
Ticket URL: <https://code.djangoproject.com/ticket/33525#comment:1>
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.772f999f8454787fa59d57fe61145be1%40djangoproject.com.