TextField
property is used with WTForms version 3.0 or above because the wtforms.TextField
deprecated in favor of wtforms.StringField
.Solution 1 - ReplaceTextField
type withStringField
Solution 2 - Use the latest stable 2.x version of WTForms