欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm"

程序员文章站 2022-07-12 15:58:32
...

今天继续学习<<flask web开发>>,做到了4.5的例子,在控制台报了:
127.0.0.1 - - [05/Jan/2018 09:08:12] "GET / HTTP/1.1" 200 -
D:/PycharmProjects/hello/hello.py:48: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
  form = NameForm()

看到错误提示,大约是将Form改成FlaskForm,改完之后,错误消失!