Opened 6 years ago

Closed 6 years ago

Last modified 4 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: UI/UX:

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 Changed 6 years ago by clement

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Discussed on django-developers list. Resolving ticket as invalid

comment:2 Changed 4 years ago by jacob

  • milestone 1.0.3 deleted

Milestone 1.0.3 deleted

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