#36865: Query casting introduced in Django 5.2 makes queries miss DB indexes
------------------------------------+------------------------------------
     Reporter:  Mike Lissner        |                    Owner:  (none)
         Type:  Bug                 |                   Status:  new
    Component:  contrib.admin       |                  Version:  6.0
     Severity:  Normal              |               Resolution:
     Keywords:  search_fields cast  |             Triage Stage:  Accepted
    Has patch:  1                   |      Needs documentation:  0
  Needs tests:  1                   |  Patch needs improvement:  1
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+------------------------------------
Comment (by Mike Lissner):

 Thanks. I've updated the title of the PR so it links here (magic?) and
 I've pushed a commit with the change you suggest here. I agree — much
 better. Again, I've had a lot of help from Claude on this, so hopefully
 the code is good. It's a change I wouldn't have dared a few months ago,
 but I'm hopeful will be good enough now.

 I see this ticket says it needs tests and that it needs improvement. I'm
 assuming it's up to maintainers to uncheck those, yes?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36865#comment:2>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019bc35d912f-324ab3c4-a5c7-4298-9fff-ef61f91aff95-000000%40eu-central-1.amazonses.com.

Reply via email to