[sqlalchemy] (IntegrityError) null value in column post_id violates not-null constraint

2010-10-04 Thread Anton Shestakov
of PostTagLink instances), then it does post.tag_links = [] and tries to Session.commit() it. And fails terribly. Guts tell me I may be doing something wrong, but I don't know what exactly. I'll greatly appreciate your help. Best regards, Anton Shestakov. -- You received this message because you

Re: [sqlalchemy] (IntegrityError) null value in column post_id violates not-null constraint

2010-10-04 Thread Anton Shestakov
2010/10/4 Michael Bayer mike...@zzzcomputing.com: On Oct 4, 2010, at 1:34 AM, Anton Shestakov wrote: Hello all, So, here's simple script that produces the error: http://pastie.org/1197851 please take a look at it, the script isn't big at all and there's traceback for the error as well