Hello, its me again. After trying to reproduce my problem with a smaller example, I ended with these examples:
this works: class Person(SQLObject): name = StringCol() roles = RelatedJoin('Role') class Role(SQLObject): name = StringCol() Person.createTable() Role.createTable() pres = Role(name = 'president') pers = Person(name = 'bill') pers.addRole(pres) this not: class Person(SQLObject): name = StringCol() roles = RelatedJoin('Bla') class Bla(SQLObject): name = StringCol() Person.createTable() Bla.createTable() pres = Bla(name = 'president') pers = Person(name = 'bill') pers.addBla(pres) Note, the only difference is the name of the second table. but in the second case the table 'bla_person' is not created. version: SQLObject-0.10dev_r3137-py2.5.egg Any hints are welcome. Thanks. Bert Wesarg ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss