From 9d5d0e8135a9654aa289cf922fcd00ad5e2a7fe5 Mon Sep 17 00:00:00 2001 From: Clifford Gama Date: Mon, 31 Mar 2025 11:52:48 +0200 Subject: [PATCH] Clarified pre_delete and post_delete's origin attributes. --- docs/ref/signals.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index 6e040cbfda..bdeca55938 100644 --- a/docs/ref/signals.txt +++ b/docs/ref/signals.txt @@ -204,9 +204,8 @@ Arguments sent with this signal: The database alias being used. ``origin`` - - The origin of the deletion being the instance of a ``Model`` or - ``QuerySet`` class. + The ``Model`` or ``QuerySet`` instance from which the deletion originated, + that is, the instance whose ``delete()`` method was invoked. ``post_delete`` --------------- @@ -233,9 +232,8 @@ Arguments sent with this signal: The database alias being used. ``origin`` - - The origin of the deletion being the instance of a ``Model`` or - ``QuerySet`` class. + The ``Model`` or ``QuerySet`` instance from which the deletion originated, + that is, the instance whose ``delete()`` method was invoked. ``m2m_changed`` ---------------