Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Send post_delete signals immediately #642
In a normal relational construct, if you're listening for an event that signals a child was deleted, you dont expect that the parent was deleted already.
This change ensures that post_delete signals are fired immediately after objects are deleted in the graph.
FWIW we need this at Disqus because we use application triggers to do various things.
Our construct is like:
In Django 1.2 this works fine, but in 1.4 the author has already been removed from the database when the Comment post_delete trigger happens.