On Mon, Apr 13, 2009 at 4:30 PM, drakkan <drakkan1...@gmail.com> wrote:
>
> I found a workaround I have to do:
>
> 'status':_(u.get_status_display())
>
> even if I have already marked the string for translation in models:
>
> STATUS=(
>    (1,_('Active')),
>    (0,_('Inactive')),
> )
>
> this is a really strange behaviour ...
>

To which one of the *gettext* function(s) are the _ alias
defined in both models.py and views.py?

-- 
Ramiro Morales
http://rmorales.net

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to