[Solved] How do I protect the privacy of users without breaking my program?
I am using Django for a current project and some future ones and one of the features I wanted to implement was to give the user the ability to delete their account in full. But as I was researching how to do so properly, Django's official docs actually says, "We recommend that you set [the 'is_active'] flag to False instead of deleting accounts; that way, if your applications have any foreign keys to users, the foreign keys won’t break. Here's a link to the docs: https://docs.djangoproject.com/en/dev/ref/contrib/auth/#django.contrib.auth.models.User.is_active Is there any way I can prevent a Foreign Key disaster while still allowing the user to delete their account? The ability for users to have agency over their own data and to have it completely destroyed is very important to me especially since my next project deals with repoductive health.