[sqlalchemy] Re: ForeignKey on a ForeignKey

2009-08-24 Thread King Simon-NFHD78
> -Original Message- > From: sqlalchemy@googlegroups.com > [mailto:sqlalch...@googlegroups.com] On Behalf Of asrenzo > Sent: 24 August 2009 13:48 > To: sqlalchemy > Subject: [sqlalchemy] Re: ForeignKey on a ForeignKey > > > Hi King Simon, > > Thanks

[sqlalchemy] Re: ForeignKey on a ForeignKey

2009-08-24 Thread asrenzo
Hi King Simon, Thanks for your answer but this doesn't solve my problem. If I comment my parent_id definition in the objects_tree definition, everything is OK with create_all() invocation. If I change the parent_id column definition to : sa.Column('parent_id', None, sa.ForeignKey('objects.id',

[sqlalchemy] Re: ForeignKey on a ForeignKey

2009-08-24 Thread King Simon-NFHD78
> -Original Message- > From: sqlalchemy@googlegroups.com > [mailto:sqlalch...@googlegroups.com] On Behalf Of Laurent Rahuel > Sent: 24 August 2009 12:16 > To: sqlalchemy > Subject: [sqlalchemy] ForeignKey on a ForeignKey > > > Hi all, > > I'm stucked with a problem I'm not able to solv