#6272: django.utils.translation.ugettext_lazy needs __add__ support
---------------------------------------------------------+------------------
Reporter: Tai Lee <[email protected]> | Owner:
nobody
Status: new | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords:
ugettext_lazy unicode concatenate
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------------+------------------
Comment (by ramiro):
Replying to [ticket:6272 Tai Lee <[email protected]>]:
> As the documentation doesn't recommend or require the use of
ugettext_lazy in it's examples and tutorials when defining models and
forms
This is true, but for the case of models, this is suggested in the I18N
docs: http://docs.djangoproject.com/en/dev/topics/i18n/#lazy-translation
and further down there is a section devoted to working with this kind of
objects (and it included using them in combination with string/unicode
objects): http://docs.djangoproject.com/en/dev/topics/i18n/#working-with-
lazy-translation-objects.
--
Ticket URL: <http://code.djangoproject.com/ticket/6272#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
-~----------~----~----~----~------~----~------~--~---