#13296: order_with_respect_to fails to correctly track _order after deleting
entries
-------------------------------------+-------------------------------------
               Reporter:  krijesta   |          Owner:  nobody
                   Type:  Bug        |         Status:  reopened
              Milestone:             |      Component:  Database layer
                Version:  1.1        |  (models, ORM)
             Resolution:             |       Severity:  Normal
           Triage Stage:  Accepted   |       Keywords:
    Needs documentation:  0          |      Has patch:  1
Patch needs improvement:  0          |    Needs tests:  0
                  UI/UX:  0          |  Easy pickings:  0
-------------------------------------+-------------------------------------
Changes (by DrMeers):

 * has_patch:  0 => 1
 * ui_ux:   => 0
 * easy:   => 0


Comment:

 I think changing the insertion order value calculation is the better
 solution here; less expensive than reordering everything and simpler than
 detection deletions *and* parent updates, etc. Patch and tests attached.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13296#comment:5>
Django <https://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