How can I give a default value for the StringField in WTForms

后端 未结 0 927
小鲜肉
小鲜肉 2021-01-05 01:39

I have this class:

class New_video_form(FlaskForm):
    title = StringField(\'title\', validators=[DataRequired()])
    genre = StringField(\'genre\', validat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题