#12823: Wrong SQL query when using .exclude()
---------------------------------------------------+------------------------
          Reporter:  olepw                         |         Owner:  nobody
            Status:  new                           |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  1.1   
        Resolution:                                |      Keywords:        
             Stage:  Accepted                      |     Has_patch:  1     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by PhiR_42):

  * has_patch:  0 => 1

Comment:

 A quick note on the tests: I had to modify some ids to make the bug show
 because it basically boils down to comparing one model's PK against a PK
 value from another model. When you're testing with hand-created models
 whose PKs are all 1,2,3... it's easy to miss.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12823#comment:3>
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-upda...@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