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, but when I try to access the wiki.parents object: boom
error.

    UnmappedColumnError: No column wiki_parents.parent_id is
configured on mapper Mapper|Wiki|wikis...

Full traceback:
http://pylonshq.com/tracebacks/e18b94cedd7051cec4a4316cd01ab5a0

Fun Fact #1: The backref (wiki.childs) does work. :)

Anyone got a solution for this?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to