#3276: __in lookup broken within exclude()
------------------------------+---------------------------------------------
 Reporter:  anonymous         |       Owner:  adrian
     Type:  defect            |      Status:  new   
 Priority:  high              |   Milestone:        
Component:  Database wrapper  |     Version:        
 Severity:  normal            |    Keywords:        
------------------------------+---------------------------------------------
 This doesn't seem right:
 
 this works OK:
 {{{
 In [11]: qset.exclude( id__in=list(range(10) ) ).count()
 Out[11]: 44L
 }}}
 
 this is what's wrong:
 {{{
 In [12]: len( list( qset.exclude( id__in=list(range(10) ) ) ) )
 Out[12]: 2288
 }}}
 the actual data from DB is repeated over and over 52times...
 even when I iterate over it in a template...

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3276>
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to