#25000: Implement default __str__ and similar for lazy() objects
---------------------------+---------------------------------------------
Reporter: knbk | Owner: knbk
Type: Bug | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------+---------------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"290ff35e6cc2580861a6fdeaaa3d4aa6d75f9edd" 290ff35]:
{{{
#!CommitTicketReference repository=""
revision="290ff35e6cc2580861a6fdeaaa3d4aa6d75f9edd"
Fixed #25000 -- Fixed cast to string for lazy objects.
Implemented __str__() to return the string-representation of the
proxied object, not the proxy itself, if the lazy object didn't have
a string-like object in its resultclasses.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25000#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.9c3bd7e5b871d57736f32f037eb5c8f5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.