#21241: Optimize the query generated for admin changelist filters
-------------------------------------+-------------------------------------
     Reporter:  acdha                |                    Owner:  charettes
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  master
    Component:  contrib.admin        |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by acdha):

 I would agree about pulling in one of the two test cases as there is
 currently nothing which tests how multiple query terms are processed.

 My production failure was indeed on an M2M field in search_filters, where
 a user pasted in a sentence of text and got a 500 error because MySQL
 limited JOINs to 61 tables. On second read, I see why the original
 behaviour is technically correct if unfortunate.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21241#comment:10>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.2e3f410366f6977ab26364dd76fa9c29%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to