Changes between Initial Version and Version 5 of Ticket #6915
- Timestamp:
- Jun 16, 2008, 4:11:12 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6915
- Property Component Core framework → Database wrapper
- Property Has patch set
- Property Patch needs improvement set
- Property Needs documentation set
- Property Triage Stage Unreviewed → Design decision needed
- Property Keywords qsrf-cleanup added
- Property Milestone → 1.0
-
Ticket #6915 – Description
initial v5 1 1 If you override an objects delete method: 2 2 3 {{{ 3 4 object.something_set.all().delete() 5 }}} 4 6 5 7 does not do the same as: 6 8 9 {{{ 7 10 for something in object.something_set.all(): 8 11 something.delete() 12 }}} 9 13 10 14 The new delete method is never called and hence any associated cleanup or audit code are never called. This comes to light when you delete an object which in turn deletes related objects.