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?

I would have expected the main object pre_save to be performed first,
followed by the subordinate object's pre and post save, followed by the
main objects post_save last, i.e.:

poll._pre_save()
choice._pre_save()
choice._post_save()
choice._pre_save()
choice._post_save()
poll._post_save()

Any hints on how to achieve this order of things?

Reply via email to