Tag Archives: from flask.ext.wtf import Form

from flask.ext.wtf import Form ModuleNotFoundError: No module named ‘flask.ext’

Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>

When using the form module, follow the code to type it, and run it without flash. Ext. this module finds a solution through Baidu

Original link https://stackoverflow.com/questions/20032922/no-module-named-flask-ext-wtf

It is mentioned as follows: after PY3, the introduction method has changed


The solution: change the introduction mode to:

from flask_wtf import Form