#10754: post and pre_delete signal documentation imprecise ---------------------------+------------------------------------------------ Reporter: runeh | Owner: nobody Status: new | Milestone: Component: Documentation | Version: SVN Keywords: signals | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ The documentation claims that the pre and post_delete signals is "Sent before or after a model’s delete() method is called." ( http://docs.djangoproject.com/en/dev/topics/signals/ ). This is not the case when QuerySet.delete() is used to delete multiple objects. The signals are sent, but the object.delete() method is not called. One case where this happens is in the admin, when selecting multiple objects to delete.
Unsure if this is a documentation bug or if the docs are correct and the behaviour when using QuerySet.delete() is wrong. -- Ticket URL: <http://code.djangoproject.com/ticket/10754> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
