mirror of
https://github.com/django/django.git
synced 2025-05-29 18:26:29 +00:00
[5.1.x] Clarified pre_delete and post_delete's origin attributes.
Backport of 9d5d0e8135a9654aa289cf922fcd00ad5e2a7fe5 from main.
This commit is contained in:
parent
5805d1c346
commit
3fdc8c31da
@ -204,9 +204,8 @@ Arguments sent with this signal:
|
|||||||
The database alias being used.
|
The database alias being used.
|
||||||
|
|
||||||
``origin``
|
``origin``
|
||||||
|
The ``Model`` or ``QuerySet`` instance from which the deletion originated,
|
||||||
The origin of the deletion being the instance of a ``Model`` or
|
that is, the instance whose ``delete()`` method was invoked.
|
||||||
``QuerySet`` class.
|
|
||||||
|
|
||||||
``post_delete``
|
``post_delete``
|
||||||
---------------
|
---------------
|
||||||
@ -233,9 +232,8 @@ Arguments sent with this signal:
|
|||||||
The database alias being used.
|
The database alias being used.
|
||||||
|
|
||||||
``origin``
|
``origin``
|
||||||
|
The ``Model`` or ``QuerySet`` instance from which the deletion originated,
|
||||||
The origin of the deletion being the instance of a ``Model`` or
|
that is, the instance whose ``delete()`` method was invoked.
|
||||||
``QuerySet`` class.
|
|
||||||
|
|
||||||
``m2m_changed``
|
``m2m_changed``
|
||||||
---------------
|
---------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user