cascading deletes

Issue #147 resolved
Randle Taylor repo owner created an issue

Deleting TestListInstance or TestInstance that is also set as last_instance causes the UnitTestInfo/UnitTestCollection object to be deleted as well.

Need to set the on_delete property of the Foreign key fields to on_delete=models.SET_NULL

Comments (4)

  1. Randle Taylor reporter

    fixed. last_instances are also now updated on UnitTestInfos and UnitTestCollections.

  2. Log in to comment