diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2025-03-31 11:52:48 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-03-31 16:11:44 +0200 |
| commit | 0dba888d0ccb7c3cf302397b1353523de510a4b0 (patch) | |
| tree | c22d1a1ac573145912f3be1e21815e4dd69fcf5f /docs | |
| parent | cc31b389a11559396fc039511c0dc567d9ade469 (diff) | |
[5.2.x] Clarified pre_delete and post_delete's origin attributes.
Backport of 9d5d0e8135a9654aa289cf922fcd00ad5e2a7fe5 from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/signals.txt | 10 |
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`` --------------- |
