On Sun, 2008-02-17 at 11:57 -0800, meppum wrote:
> I decided to take the plunge last night and upgrade from 0.96 to the
> svn version of django, everything seems to work fine, except the
> following code snipped no longer works. Instead of getting the plural
> name i get the following as a string:
> <django.utils.functional.__proxy__ object at 0x010BB070>.

Looks like it's been marked up with ugettext_lazy(). So converting it to
a string gives you what you wrote above as the result. Instead, you
should convert it to a unicode object or pass it through smart_str().

Malcolm

-- 
Why can't you be a non-conformist like everyone else? 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to