maybe try uselist=True in both relation and backref ??
just guessing
On Wednesday 25 June 2008 11:36:02 [EMAIL PROTECTED] wrote:
Hi.
I'm trying to insert new data into db using one-to-one
relationship, but i'm getting this error:
sqlalchemy.exceptions.OperationalError: (OperationalError)
On Jun 25, 2008, at 4:36 AM, [EMAIL PROTECTED] wrote:
Hi.
I'm trying to insert new data into db using one-to-one relationship,
but i'm getting this error:
sqlalchemy.exceptions.OperationalError: (OperationalError) (1048,
Column 'address_id' cannot be null) u'INSERT INTO companies