#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:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Shiwei Chen):

 * needs_better_patch:  1 => 0
 * needs_tests:  1 => 0


Comment:

 Updated the patch to properly deal with cases involving custom managers
 and prefetch queries, and implemented test cases for them.

 https://github.com/django/django/pull/16863

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29725#comment:21>
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/01070188a15e1a02-5c357803-0842-4948-b515-35f35007a4c7-000000%40eu-central-1.amazonses.com.

Reply via email to