#8768: Document that ugettext_lazy returns `<django.utils.functional.__proxy__
object at 0x11b1310>` in non-unicode string context
------------------------------------+---------------------------------------
Reporter: mrts | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by mk):
The patch only mentions force_unicode(), but unicode() would be enough.
{{{
>>> unicode(ugettext_lazy(u'Some string'))
u'Some string'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/8768#comment:3>
Django <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
-~----------~----~----~----~------~----~------~--~---