summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Gama <cliffygamy@gmail.com>2025-03-31 11:52:48 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-03-31 16:13:06 +0200
commit3fdc8c31da5d5198ee9bdc33a47c70f78bf0d190 (patch)
tree1faa17e921fe83818ad0b44ba2784885277a2391
parent5805d1c346bc7875259abb47626b268ba4479881 (diff)
[5.1.x] Clarified pre_delete and post_delete's origin attributes.
Backport of 9d5d0e8135a9654aa289cf922fcd00ad5e2a7fe5 from main.
-rw-r--r--docs/ref/signals.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
index 953b18c1f6..65f3833913 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``
---------------