I was able to get the cascaded delete to work by specifying the
cascade="delete" parameter to the relation() directive.  It now
deletes the related records even though the underlying DB does not
honor the foreign-key cascade delete.

I came across the above option (to relation()) after digging a bit
more in the SQLAlchemy book.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to