[sqlalchemy] Re: Many to One relation, correct like this?

2009-04-02 Thread Frank Broniewski
. the brand_id gets populated by the ORM when things are flushed. Frank Broniewski wrote: Hi all, I want to know if I am using SQLAlchemy in a correct and proper way for Many to One Relations between objects and database tables. I have created a test case for Cars and Brands. Each

[sqlalchemy] Many to One relation, correct like this?

2009-04-01 Thread Frank Broniewski
a_car.brand.name -- Frank Broniewski Metrico s.àr.l. ( http://www.metrico.lu ) 36, rue des Romains L-5433 Niederdonven Luxembourg Fon: +352 26 74 94 28 Fax: +352 26 74 94 99 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups