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:
Chris Beaven 2011-04-06 10:12:21 +00:00
parent 4fa9646716
commit ab9e596ca6
2 changed files with 5 additions and 3 deletions

View File

@ -151,7 +151,7 @@ pre_delete
:module:
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:
@ -172,8 +172,9 @@ post_delete
.. data:: django.db.models.signals.post_delete
:module:
Like :data:`pre_delete`, but sent at the end of the
:meth:`~django.db.models.Model.delete` method.
Like :data:`pre_delete`, but sent at the end of a model's
:meth:`~django.db.models.Model.delete` method and a queryset's
:meth:`~django.db.models.query.QuerySet.delete` method.
Arguments sent with this signal:

View File

@ -25,6 +25,7 @@ notifications:
:data:`django.db.models.signals.post_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.
* :data:`django.db.models.signals.m2m_changed`