Re: deleting rows with generic relations

2007-06-14 Thread Brian Luft
I'm interested in this problem as well since I'll be using generic relations for an app I'm working on. I haven't done any analysis yet so I'm just writing to bump this back up in hopes that the smart people will chime in. Here are some very naive solutions: 1) Write a cron job to periodically r

deleting rows with generic relations

2007-06-13 Thread Bram - Smartelectronix
hello everyone, Say I have Model1 Model2 Model3 And generic relations pointing to these... Like, say, Comments or Tags When deleting Model1, 2, 3 I obviously need to delete all the generic ones! Is there any smarter way to go about this except for overriding delete( ) and doing it by hand?