Fixed #14997 - A typo in "Overriding delete". thanks phunehehe for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
aff5c467c1
commit
f2c4c63cdc
|
@ -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
|
Note that the :meth:`~Model.delete()` method for an object is not
|
||||||
necessarily called when :ref:`deleting objects in bulk using a
|
necessarily called when :ref:`deleting objects in bulk using a
|
||||||
QuerySet<topics-db-queries-delete>`. To ensure customized delete logic
|
QuerySet<topics-db-queries-delete>`. To ensure customized delete logic
|
||||||
gets executed, you can use :data:`~django.db.models.signals.pre_save`
|
gets executed, you can use :data:`~django.db.models.signals.pre_delete`
|
||||||
and/or :data:`~django.db.models.signals.post_save` signals.
|
and/or :data:`~django.db.models.signals.post_delete` signals.
|
||||||
|
|
||||||
Executing custom SQL
|
Executing custom SQL
|
||||||
--------------------
|
--------------------
|
||||||
|
|
Loading…
Reference in New Issue