学习flask 的web表单插件flask-wtf时,运行程序出现:
TypeError: __init__() got an unexpected keyword argument 'lable'
经查找发现原因是html中的
<form methods="post">
.....
</form>
的methods错误的写成了method。
学习flask 的web表单插件flask-wtf时,运行程序出现:
TypeError: __init__() got an unexpected keyword argument 'lable'
经查找发现原因是html中的
<form methods="post">
.....
</form>
的methods错误的写成了method。