Browse files

[1.2.X] Fixed #14997 - A typo in "Overriding delete". thanks phuneheh…

…e for the report.

Backport of r15117 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
timgraham committed Dec 31, 2010
1 parent ae7f7a2 commit 2d854539c327b3630265bec10263ae61ce81d202
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/db/models.txt
@@ -756,8 +756,8 @@ code will automatically support those arguments when they are added.
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

0 comments on commit 2d85453

Please sign in to comment.