#28399: QuerySet.count() doesn't work on combined queries (union, intersection,
difference)
-------------------------------------+-------------------------------------
     Reporter:  Florian Apolloner    |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.11
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"9350f77c69a5cef3d7a9b8078ab33ff43335a112" 9350f77c]:
 {{{
 #!CommitTicketReference repository=""
 revision="9350f77c69a5cef3d7a9b8078ab33ff43335a112"
 [1.11.x] Fixed #28399 -- Fixed QuerySet.count() for union(), difference(),
 and intersection() queries.

 Backport of adab280cefb15659c39558ac26ea392b0a1e456c from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28399#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.cfcb1e60aa86cfbcba6d6807306f42e8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to