Re: [sqlalchemy] Wiki system with parent pages (many to many relation to itself) problems

2010-10-18 Thread Michael Bayer
On Oct 18, 2010, at 9:04 PM, Michael Bayer wrote: > > did you try removing that unneeded "remote_side" argument ? I wonder why > even it accepts remote_side or does anything with it when secondary is > present. ...nope. works fine. you need to provide a real test case.All tabl

Re: [sqlalchemy] Wiki system with parent pages (many to many relation to itself) problems

2010-10-18 Thread Michael Bayer
On Oct 18, 2010, at 6:08 PM, Sh4wn wrote: > Hi guys, > > I'm trying to create a wiki system, and each wikipage can have one or > more parent pages. This is basicly a many to many relation to the same > table. > > I tried the following: > http://pastebin.com/pvNEUeYR > > Unfortunately this does

[sqlalchemy] Wiki system with parent pages (many to many relation to itself) problems

2010-10-18 Thread Sh4wn
Hi guys, I'm trying to create a wiki system, and each wikipage can have one or more parent pages. This is basicly a many to many relation to the same table. I tried the following: http://pastebin.com/pvNEUeYR Unfortunately this doesn't fully work. Inserting works quite well, and querying too, bu