[sqlalchemy] Re: many-to-many relation, 'secondaryjoin' is needed as well

2009-06-23 Thread Aculeus
Can you post your solution? On Jun 2, 6:38 am, Gera88 gger...@gmail.com wrote: Oh I did it Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to

[sqlalchemy] Re: many-to-many relation, 'secondaryjoin' is needed as well

2009-06-02 Thread Gera88
Oh I did it Thanks! --~--~-~--~~~---~--~~ 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

[sqlalchemy] Re: many-to-many relation, 'secondaryjoin' is needed as well

2009-06-01 Thread Gera88
1. the backref is invalid. you're attempting to create a relation called services twice on the same class. 2. the relation is self-referential - it can't be automatically determined which join to apply for Service-service_type_table and service_type_table-Service - you need to use both