On Wed, 2007-09-12 at 03:34 +0000, SmileyChris wrote: [...] > PS: I'm no internationalization expert, but ugettext_lazy wasn't in > __all__ of django.utils.translation.__init__ so I had to add it in to > use it. I'm not overlooking something, am I?
Well, you are and you aren't. You don't need to add it to __all__ in order to import it via "from django.utils.translation import ugettext_lazy". It's only need if you do "from ... import *". So whilst adding it is consistent, it's not really a common way to use translation and shouldn't be necessary for that patch. Regards, Malcolm -- Quantum mechanics: the dreams stuff is made of. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
