#25730: base.Model __str__ sometimes returns unicode on Python 2
-------------------------------------+-------------------------------------
Reporter: keturn | Owner: charettes
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
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: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette <charette.s@…>):
In [changeset:"946e7679f357b3e63853660dccf002f44dc76acb" 946e7679]:
{{{
#!CommitTicketReference repository=""
revision="946e7679f357b3e63853660dccf002f44dc76acb"
[1.9.x] Fixed #25730 -- Made Model.__str__() always return str instances.
Thanks to Kevin Turner for the report and Tim for the review.
Backport of 4cd5d846d4a0a62bba6edf435a8ae9c6dcfacb43 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25730#comment:9>
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/064.bcf65d5c97bca991b1ee0be0397ced3b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.