On 11/1/05, stava <[EMAIL PROTECTED]> wrote: > In a foreign key relationship, the main objects pre_save() and > post_save() both get performed prior to the subordinate object's pre > and post save, e.g.: > > poll._pre_save() > poll._post_save() > choice._pre_save() > choice._post_save() > choice._pre_save() > choice._post_save() > > Is this intentional?
Yes, this is intentional. Each pre_save() and post_save() is atomic within its own object's save process. pre_save() and post_save() have no knowledge of where they are among any larger transaction, and no knowledge of related objects. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org