[sqlalchemy] Tutorial Issue

2010-09-30 Thread LucianU
Hello, all! I'm following the tutorial here http://www.sqlalchemy.org/docs/orm/tutorial.html and I'm running into some problems at one moment, specifically at the Configuring delete/delete-orphan Cascade section. Here is a paste of exactly what I'm doing http://bpaste.net/show/9861/ . Am I making

Re: [sqlalchemy] Tutorial Issue

2010-09-30 Thread Michael Bayer
OK, was hard to spot, and I think maybe I should change this, there's a line where it does this: users_table = User.__table__ So the original users_table is replaced with the one that User.__table__ is mapped to. I'm going to change that remapping to read like this: mapper(User,