Django doesn't call delete() for relatively deleted objects.
|Reported by:||Loststylus||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
A simple example:
num = models.IntegerField('foo')
print('doing some cleanup after killing self')
link = models.ForeignField(Link)
Okay, now delete some "Links" from Admin site - delete() is called.
Try to delete some "Somethings" with relations - they are deleted and related "Links" are deleted, too, but delete() is not called for related objects.