Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#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

Change History (2)

comment:1 by Clément Nodet, 15 years ago

Resolution: invalid
Status: newclosed

Discussed on django-developers list. Resolving ticket as invalid

comment:2 by Jacob, 13 years ago

milestone: 1.0.3

Milestone 1.0.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top