#10425: Bad SQL generated for
Book.objects.values('author').annotate(Count('author')).count()
--------------------------------------+-------------------------------------
          Reporter:  kmassey          |         Owner:                       
            Status:  new              |     Milestone:  1.1                  
         Component:  ORM aggregation  |       Version:  SVN                  
        Resolution:                   |      Keywords:  values annotate count
             Stage:  Accepted         |     Has_patch:  0                    
        Needs_docs:  0                |   Needs_tests:  0                    
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Comment (by alen__ribic):

 Has this been fixed? I can't simulate the problem my end. My qs.count()
 returns a correct value with no exception.

 -Alen

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10425#comment:2>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to