https://github.com/lepture/flask-wtf/pull/271 现在一直报警告:
FlaskWTFDeprecationWarning: "csrf_enabled" is deprecated and will be removed in 1.0. Set "meta.csrf" instead.
我代码里有这么一段在 MyForm 的 class 里:
def __init__(self, csrf_enabled=False, *args, **kwargs):
....super(MyForm, self).__init__(csrf_enabled=csrf_enabled, *args, **kwargs)