[sqlalchemy] Re: Modifiable collections on a many-to-many, same table mapping

2009-03-05 Thread az
as i see u have normal mapping for the Connection, and still use it as secondary table; once i did use such (semi-legal?:) thing but the relation was readonly. try not giving secondary* args ? On Thursday 05 March 2009 18:37, Kevin Dangoor wrote: I have a many-to-many mapping that joins

[sqlalchemy] Re: Modifiable collections on a many-to-many, same table mapping

2009-03-05 Thread Michael Bayer
make those m2m relations(), and any other relation that doesn't represent a single path of persistence, viewonly=True . its all the three ways to see the same thing going on, minus viewonly=True means three ways to persist the same thing, leading to errors like that. Kevin Dangoor wrote: I

[sqlalchemy] Re: Modifiable collections on a many-to-many, same table mapping

2009-03-05 Thread Kevin Dangoor
On Thu, Mar 5, 2009 at 12:38 PM, Michael Bayer mike...@zzzcomputing.com wrote: make those m2m relations(), and any other relation that doesn't represent a single path of persistence, viewonly=True .   its all the three ways to see the same thing going on, minus viewonly=True means three ways