from wtforms import StringField, PasswordField, BooleanField, SubmitField
from wtforms.validators import DataRequired, Email , Length
class LoginForm(FlaskForm):
username = StringField('Ваш логин', validators=[DataRequired()])
password = PasswordField('Пароль', validators=[DataRequired()])
remember_me = BooleanField('Запомнить')
submit = SubmitField('Вход')