Re: Setting pk to None before sending post_delete signal

2007-09-19 Thread Russell Keith-Magee
On 9/19/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > What is the reasoning (or is there any) behind setting an object's pk > to None before sending the post_delete signal? A swapping of lines [1] > would change it. I could just listen for the pre_delete signal, but I > don't actually want

Setting pk to None before sending post_delete signal

2007-09-19 Thread Joseph Kocherhans
What is the reasoning (or is there any) behind setting an object's pk to None before sending the post_delete signal? A swapping of lines [1] would change it. I could just listen for the pre_delete signal, but I don't actually want to do what I'm going to do (remove some data in an external