[sqlalchemy] Re: orphan'ed instance errors
BTW, here are my mappers: mapper(User, user_table, properties = { 'location': relation(Location, cascade=all, delete-orphan) }) mapper(Host, host_table, properties = {
[sqlalchemy] Re: orphan'ed instance errors
Anil wrote: On Sep 14, 7:36 am, Anil [EMAIL PROTECTED] wrote: class 'sqlalchemy.exceptions.FlushError': instance Location is an unsaved, pending instance and is an orphan (is not attached to any parent 'Host' instance via that classes' 'location' attribute, nor any parent 'User' instance via