Problem with accents when filter

30 views
Skip to first unread message

Neto

unread,
Sep 29, 2014, 5:58:59 PM9/29/14
to django...@googlegroups.com
I want to filter results with and without accents, but Django can not do it. 

In my database has the word "áéíóú", but when I do: 

People.objects.filter (name__icontains = 'aeiou') 

Returns nothing. Django how to return the result with and without accent? (I am using PostgreSQL and Django 1.7)
Reply all
Reply to author
Forward
0 new messages