On 5/30/07, Robert Coup <[EMAIL PROTECTED]> wrote:
> So the post_create signal would be triggered *after* the transaction was
> committed? The patch in 2154 certainly doesn't handle that case.

That's not what I was trying to communicate.  It was mentioned that
you won't know if "the save is successful or not" if processing is
done in pre_save.

If it's called as is done in the patch, the save has been successful
(assuming no future rollback), meaning that any problem wasn't with
persistence of the object.

Anyone needing to perform actions only after a successful commit is on
their own with the version of post_create being discussed. (I think
that's reasonable)

 - Ben

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to