#18676: Django should do m2m deletes in a single query when possible
-------------------------------------+-------------------------------------
     Reporter:  jdunck               |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |                  Version:  1.4
    Component:  Database layer       |               Resolution:  fixed
  (models, ORM)                      |             Triage Stage:  Ready for
     Severity:  Normal               |  checkin
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by Anssi Kääriäinen <akaariai@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1cd6e04cd4f768bcd4385b75de433d497d938f82"]:
 {{{
 #!CommitTicketReference repository=""
 revision="1cd6e04cd4f768bcd4385b75de433d497d938f82"
 Fixed #18676 -- Allow fast-path deletion of objects

 Objects can be fast-path deleted if there are no signals, and there are
 no further cascades. If fast-path is taken, the objects do not need to
 be loaded into memory before deletion.

 Thanks to Jeremy Dunck, Simon Charette and Alex Gaynor for reviewing
 the patch.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18676#comment:7>
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 https://groups.google.com/groups/opt_out.


Reply via email to