You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.
Problem
Flask-WTF v0.14.2 doesn't remove the
csrf_token
field fromForm.data
any more, making certain views that used to pass theform.data
dictionary as**kwargs
to the models' constructor (eg. in Community creation) to fail.Possible Solutions
(open to suggestions)
data.pop("csrf_token")
before such callsFlask-WTF
to recover/control this behavior, possibly through config (I suspect we're not the only people expandingform.data
in function calls)form.populate_obj(c)
The text was updated successfully, but these errors were encountered: