I use Django MPTT.
I wont delete my nodes but instead I am updating a field is_deleted
and filtering the nodes so 'deleted' nodes wont show up.
The problem arises if a node is 'deleted' but some of it's descendants is not deleted.
The descendants of a 'deleted' node should not be showed. I could solve this by setting the is_deleted
field for all descendants when I 'delete' a node but that is not the best solution.
How can this be solved?