I don't use elixir, just simple DeclarativeBase classes in the model. If you need further info, let me know, and I will try and sanitize my model to post.
On Oct 5, 12:07 am, alex bodnaru <[email protected]> wrote: > On 10/05/2010 07:41 AM, ozwyzard wrote:> 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. > > this is unfortunately needed in sqlite too, though i encounter this with > thicker > python wrapping against the rdbms. > could you please show your model, or tell us whether you use elixir?> Thanks! > > best regards, > alex -- 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.

