Code

Opened 5 years ago

Closed 5 years ago

Last modified 3 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

Attachments (0)

Change History (2)

comment:1 Changed 5 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 3 years ago by jacob

  • milestone 1.0.3 deleted

Milestone 1.0.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.