Django Doc 中 "Model.delete() isn't called on related models" 的含义是什么

What is the meaning of "Model.delete() isn't called on related models" in Django Doc

我正在阅读 Django 关于 model fields and models.CASCADE 的文章。我不明白这个短语:

Model.delete() isn’t called on related models

models.CASCADE表示删除目标对象时,删除相关对象,那么"isn't called on related models"是什么意思呢?

请为我解释一下。

如果您阅读后面的部分可能会更清楚but the pre_delete and post_delete signals are sent for all deleted objects。所以这意味着 Django 将删除对象但不会调用这些对象的 delete 方法 - 并通过 delete_batch 方法删除它们。它只会触发该对象的 pre_delete 和 post_delete 信号。