页面报错是:builtins.TypeError
TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given
author=StringField('作者',validators=[DataRequired()])中的DataRequired()加上括号即可
顺便做下其他笔记from flask_wtf import FlaskForm flask.ext.wtf已经不适用了
转自:https://blog.csdn.net/a475952074/article/details/79922360