On Jan 23, 2008, at 2:34 PM, maxi wrote:
> > >> do you have anything else mapped to the "conv_pre" table ? it should >> *only* be mentioned in one place in your mapping setup. > > I only have something like this: > > class ConvPre(DBObject): > pass > > mapper(ConvPre, conv_pre) OK, then you *cannot* use conv_pre as the "secondary" argument in another relation(). You need to use an association: http://www.sqlalchemy.org/docs/04/mappers.html#advdatamapping_relation_patterns_association once that works, you might want to look into the association proxy, which is an optional convenience feature: http://www.sqlalchemy.org/docs/04/plugins.html#plugins_associationproxy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---