Custom (delete) ProtectError message

17 views
Skip to first unread message

Filbert

unread,
Aug 17, 2021, 9:43:52 PM8/17/21
to Django users
Prior to Django 3 we've managed to customize the delete message when you have (say) PROTECT set.

It seems since Django 3, in deletion.py the collect() method eats our ProtectError exception and uses it's own.

Is there a way to override this?
Reply all
Reply to author
Forward
0 new messages