Filtering non english database
|Reported by:||pbzrpa||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have a huge problem with filtering a database using foo.objects.filter() where the database has foreign letters and you only have access to English letters.
foo.objects.filter(field__icontains = 'glos') can not find a record with the name "głos".
It would really help if one was able to add custom operators so that I could call a function on the database that would convert the letters.
I was unable to find any documentation on the website and I also see that the admin interface also filters only if the correct letters are used. I have a polish database of users and I would like the admin interface to find the surname "Głos" when I enter the English version "Glos"