#9985: r9701 breaks for combinations of values_list and unique - it inserts
duplicate references in SQL
---------------------------------------------------+------------------------
          Reporter:  cmu...@gmail.com              |         Owner:  mtredinnick
            Status:  assigned                      |     Milestone:  post-1.0   
         Component:  Database layer (models, ORM)  |       Version:  SVN        
        Resolution:                                |      Keywords:             
             Stage:  Unreviewed                    |     Has_patch:  0          
        Needs_docs:  0                             |   Needs_tests:  0          
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by mtredinnick):

  * owner:  nobody => mtredinnick
  * needs_better_patch:  => 0
  * status:  new => assigned
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 That query cannot possibly come from the queryset you specify, since that
 queryset will never generate a limit. It's close, though, and does
 demonstrate a problem.

 The root issue is that `qs.values_list(...).values(....)` doesn't work
 properly, which needs fixing.

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