Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to prevent all object deletion #101

Conversation

matthewelwell
Copy link
Contributor

Adds an optional setting (SOFTDELETE_CASCADE_ALLOW_DELETE_ALL) to prevent all model deletion.

As mentioned in my other issues / PRs, I'm not entirely sure why this behaviour exists, however, this allows users to disable it. This is really only a temporary solution and this logic should be visited in a future major version (imo).

@scoursen
Copy link
Owner

And some more merge conflicts -- once resolve will merge and then try and make a new pypi release.

@matthewelwell
Copy link
Contributor Author

@scoursen ready when you are. Thanks!

@scoursen scoursen merged commit a4ce020 into scoursen:master Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants