Opened 4 years ago

Closed 4 years ago

#23056 closed Bug (invalid)

Queryset.delete always triggers pre/post delete signal?

Reported by: flisky Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


It seems that the doc has not synced with the commit

Change History (2)

comment:1 Changed 4 years ago by Claude Paroz

Sorry, but could you please be a little more specific about what you want to see changed in that documentation?

comment:2 Changed 4 years ago by flisky

Resolution: invalid
Status: newclosed

It's much clear for me to read it again with the queryset.delete API reference.
If I have to say, I hope the following two mirror improvements as non-native English reader.

First and most, could when possible be more informative?

Keep in mind that this will, whenever possible (such as not handling cascade nor pre_delete/post_delete signal connected), be executed purely in SQL,

Second, the not necessarily is a little bit confusing for me at first.

and so the delete() methods of individual object instances will not necessarily and never be called during the process.


Note: See TracTickets for help on using tickets.
Back to Top