Open nortigo opened 3 years ago
Did you find a workaround?
Dirty workaround would be adding a try...except
.
Clean workaround would be having meta fields such as excluded
and fields
so we can skip non model fields, something similar to forms
.
:) I'd be very happy to review a PR that adds the excluded
and fields
.
I don't have the time at the moment but if someone wants to jump on it, be my guest :)
I found a bug at line: https://github.com/TrangPham/django-admin-confirm/blob/5a085012c5f52bc542a11290255799c0a7ab2ec0/admin_confirm/admin.py#L192
How to reproduce:
Actual result:
A FieldDoesNotExists exception is raised:
Expected result:
Custom field should be ignored.