django-softdelete
django-softdelete copied to clipboard
Deletes ALL items in a table if it does not extend model, why?
Why do this? https://github.com/scoursen/django-softdelete/blob/master/softdelete/models.py#L176
This is dangerous as it appears to delete ALL items in a table if it does not extend the delete model. What is the reason behind this?
All my related items are deleted, but so are all other items in the table what are not related. The problem appears to be on that line I think.
Can you write a test for this?