Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #10754 - minor clarification to the post/pre_delete signal docu…

…mentation

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ab9e596ca65eec5aa021b2d0a4d6c975d0869cb5 1 parent 4fa9646
@SmileyChris SmileyChris authored
Showing with 5 additions and 3 deletions.
  1. +4 −3 docs/ref/signals.txt
  2. +1 −0  docs/topics/signals.txt
View
7 docs/ref/signals.txt
@@ -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
1  docs/topics/signals.txt
@@ -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`
Please sign in to comment.
Something went wrong with that request. Please try again.