summaryrefslogtreecommitdiff
path: root/docs
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:10:44 +0200
commit9d5d0e8135a9654aa289cf922fcd00ad5e2a7fe5 (patch)
treefdf3923abbe1057bbdfa4316d62dbf416b7b3823 /docs
parentcb27e5b9c0703fb0edd70b2138e3e53a78c9551d (diff)
Clarified pre_delete and post_delete's origin attributes.
Diffstat (limited to 'docs')
-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 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``
---------------