#11764: Bugfix: typo with avoid.update(..) in
db/models/sql/query.py:BaseQuery:fill_related_selections
---------------------------------------------------+------------------------
          Reporter:  aurelio                       |         Owner:  ramiro
            Status:  assigned                      |     Milestone:  1.2   
         Component:  Database layer (models, ORM)  |       Version:  SVN   
        Resolution:                                |      Keywords:        
             Stage:  Accepted                      |     Has_patch:  1     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by ramiro):

  * status:  new => assigned
  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * owner:  nobody => ramiro
  * needs_docs:  => 0
  * stage:  Unreviewed => Accepted

Comment:

 Finally got around to reproduce this corner case thing by tracing and
 copying the treatment the queryset gets in the admin app to show a change
 list for the relevant model (there is no need to create model instances at
 all). Critical to make the bug show itself are the `select_related()` call
 and iterating over the QS (forcing its evaluation with `list()` doesn't
 trigger it).

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