#12258: QuerySet 'get' method should clear ordering before executing query
------------------------------------------+---------------------------------
 Reporter:  [email protected]       |       Owner:  nobody    
   Status:  new                           |   Milestone:            
Component:  Database layer (models, ORM)  |     Version:  1.1       
 Keywords:  ordering, database, queryset  |       Stage:  Unreviewed
Has_patch:  1                             |  
------------------------------------------+---------------------------------
 The SQL generated by the ORM when calling `get` includes ordering
 parameters specified in `Meta.ordering`. This might be small in the
 greater scheme of things, but clearing the ordering before evaluating the
 cloned `QuerySet` would prevent unnecessary filesorts by the database.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12258>
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=.


Reply via email to