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

disable deletion of some models in admin #981

Merged
merged 4 commits into from
Feb 5, 2024
Merged

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Feb 2, 2024

Prevent deletion of three models in the admin, which instead have an active flag in the case of users, or deprecation flag in case of UDF Forms and Terms.

Also, updated the admins for UDF forms to inherit form the correct class, along with some basic information on the list view form.

@shapiromatron shapiromatron changed the title prevent deletion of some models in admin disable deletion of some models in admin Feb 2, 2024
Copy link
Collaborator

@munnsmunns munnsmunns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@shapiromatron shapiromatron merged commit 812f155 into main Feb 5, 2024
3 checks passed
@shapiromatron shapiromatron deleted the no-admin-delete branch February 5, 2024 21:02
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