Flask-Admin model object deletion breaks when the app is CsrfProtect-ed in init.py. The fix is making the form_base_class = flask_wtf.Form BUT this breaks editing an object with the error that it already exists. Deletion still works with the multiselect, though. So here are the choices:
Enable CsrfProtect and lose the trash can deletion
Flask-Admin model object deletion breaks when the app is CsrfProtect-ed in init.py. The fix is making the form_base_class = flask_wtf.Form BUT this breaks editing an object with the error that it already exists. Deletion still works with the multiselect, though. So here are the choices:
Going with the former for now.