On Tue, Jul 10, 2007 at 11:06:17AM +0200, Daniel Nogradi wrote:
> Maybe I'm misunderstanding you but if a foreignkey points to an object
> that is deleted, the object that refers to the deleted object will not
> be:

   This has nothing with RelatedJoin. You case is much simpler to fix:

> class building( SQLObject ):
>     city = ForeignKey( 'city' )

    city = ForeignKey( 'city' , cascade=True)

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to