> My question is.. if order matters, is there the possibility, expecially
> in complex models, to reach a "deadlock" condition?
> 

"Deadlock" really only occurs between processes or threads
(http://en.wikipedia.org/wiki/Deadlock).  So that is impossible here
because your django model is being proccessed by only one single
process or thread at a time.

I see where you are headed, though, and the answer is no, it can't
ever happen.  You'll notice that when you try to reference an entity
that hasn't been defined yet, the interpreter throws a NameError; this
happens because the token-name you gave it, in your case 'Recipie',
isn't defined anywhere yet.  So you can't even arrive at a sort of
'deadlock' situation.

Reply via email to