#2256: queryset.count() does not work with sliced querysets
------------------------------------+---------------------------------------
   Reporter:  [EMAIL PROTECTED]   |                Owner:  adrian           
     Status:  new                   |            Component:  Database wrapper 
    Version:                        |           Resolution:                   
   Keywords:  queryset count limit  |                Stage:  Ready for checkin
  Has_patch:  1                     |           Needs_docs:  0                
Needs_tests:  0                     |   Needs_better_patch:  0                
------------------------------------+---------------------------------------
Changes (by SmileyChris):

  * summary:  queryset.count() drops LIMIT/OFFSET information =>
              queryset.count() does not work with sliced
              querysets

Comment:

 I left the doc patch separate, because I'm not sure we need to explicitly
 document this change in behaviour in the DB api - the old behaviour was
 never implied.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2256#comment:12>
Django Code <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