#10847: `QuerySet.values` doesn't remove extra selections.
------------------------------------+---------------------------------------
          Reporter:  mrmachine      |         Owner:  nobody                    
      
            Status:  new            |     Milestone:  1.1                       
      
         Component:  Uncategorized  |       Version:  SVN                       
      
        Resolution:                 |      Keywords:  queryset extra select 
values sql
             Stage:  Unreviewed     |     Has_patch:  0                         
      
        Needs_docs:  0              |   Needs_tests:  0                         
      
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Changes (by mrmachine):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Keep in mind that any extra selections may also be referenced in
 `order_by` or extra `where`, etc. If we strip extra selections that are
 not specified in `values()`, we should also strip them from `order_by` and
 extra `where`, etc., or invalid SQL may be generated.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10847#comment:1>
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 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to