On Wed, Sep 3, 2008 at 3:32 PM, krylatij <[EMAIL PROTECTED]> wrote: > > try this: >>>get_models(arteak.management.models)[0]._meta.verbose_name_plural() >
This won't work since the __proxy__ object does not have a call method. The __proxy__ object gets evaluated to a string when you try to insert it into a template or another string. If you pass this object to the unicode() function you'll get back the string. The string cannot be translated early because otherwise you would always get it back in the default language of your system. Therefore it is lazily evaluated when the needed language is known (which might change from request to request.) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---