Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Deleting users causes cascade deletion of all related objects #184

Open
justinrporter opened this issue Nov 2, 2018 · 0 comments
Open
Labels

Comments

@justinrporter
Copy link
Member

justinrporter commented Nov 2, 2018

If a user is deleted from the admin panel, the present behavior is for the database to cascade-delete all linked objects (notes, documents, etc). This is not desired behavior.

A discussion of how to configure the on_delete parameter of ForeignKey is discussed in this SO post.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant