Project

Profile

Help

Issue #3509

Updated by dalley about 6 years ago

We're using a ManyToMany field to join Tasks to ReservedResources. The problem with this is that you can delete tasks which leaves the ReservedResource in limbo.    To fix this, create a join model TaskReservedResource which uses an FK with on_delete set to PROTECT for tasks. 

 This issue was copied from issue #3380 which @daviddavis created, but which I accidentally deleted.    Whoops.    Luckily, I had a cached copy open.

Back