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

2009-07-25 Thread Alessandro Dentella
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 'delete-orphan'. running:: f = m.Movie(title=my title)

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

2009-07-25 Thread Alessandro Dentella
[Sorry for reposting, Erroneously sent to another thread.] 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