Description
Problem Statement
For example, I have some kind of blog, where I do track the history of users' comments. And when a user deletes his comment under any blog post I still want to be able to see it, and maybe recover back.
But when I delete that post, I don't need to know anything about any of those comments any more. And I want not only to remove the existing history (it's quite an easy task) but also not to create "-" historical records caused by cascade delete.
Describe the solution you'd like
The most user-friendly way to do this is to use some method like "save_without_historical_record", described is the docs.
Describe alternatives you've considered
As another possibility, maybe you could tell which Signal I need to disconnect before I call Post.object.delete() ? And how to perform it properly. I've tried to find any help reading the library source code, but, seem to be failed:(