mirror of https://github.com/django/django.git
Fixes #10754 - minor clarification to the post/pre_delete signal documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4fa9646716
commit
ab9e596ca6
|
@ -151,7 +151,7 @@ pre_delete
|
||||||
:module:
|
:module:
|
||||||
|
|
||||||
Sent at the beginning of a model's :meth:`~django.db.models.Model.delete`
|
Sent at the beginning of a model's :meth:`~django.db.models.Model.delete`
|
||||||
method.
|
method and a queryset's :meth:`~django.db.models.query.QuerySet.delete` method.
|
||||||
|
|
||||||
Arguments sent with this signal:
|
Arguments sent with this signal:
|
||||||
|
|
||||||
|
@ -172,8 +172,9 @@ post_delete
|
||||||
.. data:: django.db.models.signals.post_delete
|
.. data:: django.db.models.signals.post_delete
|
||||||
:module:
|
:module:
|
||||||
|
|
||||||
Like :data:`pre_delete`, but sent at the end of the
|
Like :data:`pre_delete`, but sent at the end of a model's
|
||||||
:meth:`~django.db.models.Model.delete` method.
|
:meth:`~django.db.models.Model.delete` method and a queryset's
|
||||||
|
:meth:`~django.db.models.query.QuerySet.delete` method.
|
||||||
|
|
||||||
Arguments sent with this signal:
|
Arguments sent with this signal:
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ notifications:
|
||||||
:data:`django.db.models.signals.post_delete`
|
:data:`django.db.models.signals.post_delete`
|
||||||
|
|
||||||
Sent before or after a model's :meth:`~django.db.models.Model.delete`
|
Sent before or after a model's :meth:`~django.db.models.Model.delete`
|
||||||
|
method or queryset's :meth:`~django.db.models.query.QuerySet.delete`
|
||||||
method is called.
|
method is called.
|
||||||
|
|
||||||
* :data:`django.db.models.signals.m2m_changed`
|
* :data:`django.db.models.signals.m2m_changed`
|
||||||
|
|
Loading…
Reference in New Issue