#15361: QuerySet.get() should use LIMIT 2
--------------------------------------------------------+-------------------
               Reporter:  mbertheau                     |         Owner:  
mmcnickle                                 
                 Status:  new                           |     Milestone:        
                                    
              Component:  Database layer (models, ORM)  |       Version:  1.2   
                                    
             Resolution:                                |      Keywords:  
QuerySet get limit MultipleObjectsReturned
           Triage Stage:  Accepted                      |     Has patch:  1     
                                    
    Needs documentation:  0                             |   Needs tests:  0     
                                    
Patch needs improvement:  0                             |  
--------------------------------------------------------+-------------------

Comment (by mmcnickle):

 Patch with the documentation change as decided in
 [http://groups.google.com/group/django-
 developers/browse_thread/thread/fa27a26a789ddb2d the django-dev post].

 I've retained the tests from the old patch, as they increase the test
 coverage of query.get() and aren't really specific to this issue.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15361#comment:8>
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