GinTon wrote:
> To convert the names to lower or UPPER case in the templates is used {{
> foo.name|lower }} and {{ foo.name|upper }}
> 
> But is possible convert characters non-ASCII? Is there any of use
> foo.name.decode('utf-8').upper()  in the templates?

There is a patch fixing string filters to do this sort of thing properly 
in ticket http://code.djangoproject.com/ticket/924 (use the latest which 
I just have updated to the current trunk: 
http://code.djangoproject.com/attachment/ticket/924/924.5.diff)



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to