#29725: Inefficient SQL generated when counting a ManyToMany
-------------------------------------+-------------------------------------
     Reporter:  Gavin Wahl           |                    Owner:  Shiwei
         Type:                       |  Chen
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * needs_tests:  0 => 1


Comment:

 Patch needs a few tweaks to properly disable the custom manager (most
 notably tests). It also lacks coverage for the prefetched case as reported
 by comment:18.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29725#comment:20>
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/0107018828048a51-faed048a-bf05-4f9f-928d-b8c0352adca4-000000%40eu-central-1.amazonses.com.

Reply via email to