#9682: icontains can be case-sensitive on MySQL
-------------------------------------+-------------------------------------
     Reporter:                       |                    Owner:  nobody
  to.roma.from.djbug@…               |
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Someday/Maybe
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Alan):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 The addition of {{{Collate()}}} is great, but it didn't solve the main
 problem of this ticket. Django should properly use the existing lookups
 independent of the database collation. I came to this ticket because I
 realized that is not possible to use {{{ModelAdmin.search_fields}}} in the
 way is presented in the docs:
     ''When somebody does a search in the admin search box, Django splits
 the search query into words and returns all objects that contain each of
 the words, case-insensitive...''
 I discover this after the need of use MySQL instead of PostgreSQL.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/9682#comment:17>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/088.8d4ba4a80168b3cce1dc4259d97ba3ca%40djangoproject.com.

Reply via email to