From ab9e596ca65eec5aa021b2d0a4d6c975d0869cb5 Mon Sep 17 00:00:00 2001 From: Chris Beaven Date: Wed, 6 Apr 2011 10:12:21 +0000 Subject: [PATCH] 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 --- docs/ref/signals.txt | 7 ++++--- docs/topics/signals.txt | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index 1d4244f208f..0a2812aa908 100644 --- a/docs/ref/signals.txt +++ b/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: diff --git a/docs/topics/signals.txt b/docs/topics/signals.txt index d35a3299b03..64ce2029396 100644 --- a/docs/topics/signals.txt +++ b/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`