[sqlalchemy] Re: Tutorial Issue

2010-10-01 Thread LucianU
.__table__, properties={     ...     'addresses':relationship(Address, backref='user', cascade=all, delete, delete-orphan) ... }) Mapper at 0x...; User addresses_table = Address.__table__ mapper(Address, addresses_table) Mapper at 0x...; Address On Sep 30, 2010, at 6:22 AM, LucianU

[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