[sqlalchemy] Re: delete-orphan & assigning fk. Related to FAQ 5.13

2009-07-27 Thread Alessandro Dentella
> Movie is attached to a Director or not. like the FAQ says, we choose > not to get into generating "events" from foreign keys being set. > which is not a "forever" rule, but if you look in trac there are about > 300 ORM issues open that I'd rather get resolved before I have the > time

[sqlalchemy] Re: delete-orphan & assigning fk. Related to FAQ 5.13

2009-07-25 Thread Michael Bayer
On Jul 25, 2009, at 5:19 AM, Alessandro Dentella wrote: > > > In faq 5.13 it's explained why setting bar.foo_id would not generate > the > object bar.foo. > > I stumble in the same problem when creating a Movie in an example with > Director/Movie and a relation -'movies' on director- that has