#4161: [unicode] Convert oldforms
----------------------------------------------------------+-----------------
Reporter: Ivan Sagalaev <[EMAIL PROTECTED]> | Owner:
mtredinnick
Status: new |
Component: Uncategorized
Version: other branch |
Resolution:
Keywords: unicode |
Stage: Unreviewed
Has_patch: 1 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
----------------------------------------------------------+-----------------
Comment (by Ivan Sagalaev <[EMAIL PROTECTED]>):
This explicit unicode(self) is because this same class has
{{{__unicode__}}} defined so we don't need smart_str to check if it's
there or not. Besides wouldn't calling smart_str inside of {{{__str__}}}
lead to an infinite recursion?
--
Ticket URL: <http://code.djangoproject.com/ticket/4161#comment:4>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---