I'm not able to import Flask-WTF TextField and BooleanField
From version 0.9.0, Flask-WTF will not import anything from wtforms, you need to import fields from wtforms.
You need to import them from wtforms
(note that according to docs
import statement was changed):
from flask_wtf import Formfrom wtforms import TextField, BooleanFieldfrom wtforms.validators import Required