#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
---------------------------------------------------+------------------------
          Reporter:  ElliottM                      |         Owner:  nobody     
        
            Status:  closed                        |     Milestone:  post-1.0   
        
         Component:  Database layer (models, ORM)  |       Version:  SVN        
        
        Resolution:  wontfix                       |      Keywords:  in_bulk 
filter list
             Stage:  Design decision needed        |     Has_patch:  1          
        
        Needs_docs:  0                             |   Needs_tests:  0          
        
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by mtredinnick):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 This would be a backwards incompatible API change (the docs say that
 calling `in_bulk()` with no parameters returns an empty dictionary).

 It's also a one line call to do it yourself (`dict([(o.pk, o) for o in
 qs])`), so it doesn't really need to be added to the API.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8065#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 django-updates@googlegroups.com
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