Re: [sqlalchemy] Re: Parent model being queried when deleting Child model

2011-02-11 Thread Michael Bayer
On Feb 11, 2011, at 2:37 PM, Will wrote: >>> I have a table that has two >>> parents, >>> that is a foreign key to two tables. One of those tables isn't needed >>> by the application, but it needed for other applications that use >>> these >>> same SQLAlchemy models. >> >>> The following exampl

[sqlalchemy] Re: Parent model being queried when deleting Child model

2011-02-11 Thread Will
> > I have a table that has two > > parents, > > that is a foreign key to two tables.  One of those tables isn't needed > > by the application, but it needed for other applications that use > > these > > same SQLAlchemy models. > > > The following example shows first a default parent/child relation