mirror of
https://github.com/django/django.git
synced 2025-04-05 05:56:42 +00:00
Clarified pre_delete and post_delete's origin attributes.
This commit is contained in:
parent
cb27e5b9c0
commit
9d5d0e8135
@ -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``
|
||||
---------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user