Randall Smith wrote: > Michael Bayer wrote: > >> On Jul 18, 2006, at 5:54 PM, Randall Smith wrote: >> >> >>> SQLError: (IntegrityError) null value in column "project_id" violates >>> not-null constraint >>> 'UPDATE planreview.documents SET project_id=%(project_id)s WHERE >>> documents.id = %(documents_id)s' {'project_id': None, >>> 'documents_id': 13} >>> >>> Shouldn't this be a delete statement? >>> >> >> >> yup. you need to post a fully working test case (strongly preferred: >> sqlite, single .py file) since i cannot reproduce this error in >> similar setups. >> >> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > Did it. Attached is an example of the problem. > > Randall > Any ideas about this or do I have the wrong idea about how to assign a relationship? It seems have problems with 0.2.6 also.
Randall ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users