Delete Bulk Action on Snippets does not respect "on_delete=models.PROTECT" on "ForeignKeys" #11922
Labels
status:Unconfirmed
Issue, usually a bug, that has not yet been validated as a confirmed problem.
type:Bug
Issue Summary
If a model is registered as a Snippet, and it has a
ForeignKey
that has the attributeon_delete=models.PROTECT
, the Delete Bulk Action will not respect this condition.Steps to Reproduce
models.ForeignKey
with the propertyon_delete=models.PROTECT
.SnippetViewSet
of that model.Technical details
The text was updated successfully, but these errors were encountered: