Author: timo
Date: 2010-12-31 07:10:05 -0600 (Fri, 31 Dec 2010)
New Revision: 15118
Modified:
django/branches/releases/1.2.X/docs/topics/db/models.txt
Log:
[1.2.X] Fixed #14997 - A typo in "Overriding delete". thanks phunehehe for the
report.
Backport of r15117 from trunk.
Modified: django/branches/releases/1.2.X/docs/topics/db/models.txt
===================================================================
--- django/branches/releases/1.2.X/docs/topics/db/models.txt 2010-12-31
13:09:20 UTC (rev 15117)
+++ django/branches/releases/1.2.X/docs/topics/db/models.txt 2010-12-31
13:10:05 UTC (rev 15118)
@@ -756,8 +756,8 @@
Note that the :meth:`~Model.delete()` method for an object is not
necessarily called when :ref:`deleting objects in bulk using a
QuerySet<topics-db-queries-delete>`. To ensure customized delete logic
- gets executed, you can use :data:`~django.db.models.signals.pre_save`
- and/or :data:`~django.db.models.signals.post_save` signals.
+ gets executed, you can use :data:`~django.db.models.signals.pre_delete`
+ and/or :data:`~django.db.models.signals.post_delete` signals.
Executing custom SQL
--------------------
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.