#2394: count() QuerySet method should accept lookup parameters
-------------------------------------------------+--------------------------
 Reporter:  Gary Wilson <[EMAIL PROTECTED]>  |       Owner:  adrian
     Type:  defect                               |      Status:  new   
 Priority:  normal                               |   Milestone:        
Component:  Database wrapper                     |     Version:  SVN   
 Severity:  normal                               |    Keywords:        
-------------------------------------------------+--------------------------
 When lookup parameters are passed to `count()`, `count()` should do an
 implied `filter()`.
 
 For example, the following should be identical:
 {{{
 #!python
 User.objects.filter(pk=1).count()
 User.objects.count(pk=1)
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2394>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to