#10999 closed (invalid)
Filtering non english database
Reported by: | pbzrpa | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
For example:
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"
Thanks
Discussed on django-developers list. Resolving ticket as invalid