#10754: post and pre_delete signal documentation imprecise
------------------------------------+---------------------------------------
          Reporter:  runeh          |         Owner:  nobody 
            Status:  closed         |     Milestone:         
         Component:  Documentation  |       Version:  SVN    
        Resolution:  duplicate      |      Keywords:  signals
             Stage:  Unreviewed     |     Has_patch:  0      
        Needs_docs:  0              |   Needs_tests:  0      
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by runeh):

 You say "If the individual detele() methods are not called, it follows
 that the associated signal handlers won't be either.". That's not what the
 code does. When doing bulk deletes the signal handlers _are_ called.
 
http://code.djangoproject.com/browser/django/trunk/django/db/models/query.py#L981

 The signals docs says that pre and post delete signal handlers are called
 before and after calling delete(). In the case of bulk deletes, the signal
 handlers are called, but delete() is not called.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10754#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to