Ticket #12313: 12313.diff
File 12313.diff, 795 bytes (added by , 15 years ago) |
---|
-
docs/topics/db/models.txt
758 758 **kwargs`` in your method definitions, you are guaranteed that your 759 759 code will automatically support those arguments when they are added. 760 760 761 .. admonition:: Overriding Delete 762 763 Note that the :meth:`~Model.delete()` method for an object is not 764 necessarily called when :ref:`deleting objects in bulk using a 765 QuerySet<topics-db-queries-delete>`. To ensure customized delete logic 766 gets executed, you can use :data:`~django.db.models.signals.pre_save` 767 and/or :data:`~django.db.models.signals.post_save` signals. 768 761 769 Executing custom SQL 762 770 -------------------- 763 771