7 lines
245 B
Python
7 lines
245 B
Python
from flask_wtf import Form
|
|
from wtforms import StringField, PasswordField, validators
|
|
|
|
|
|
class LoginForm(Form):
|
|
login = StringField('Username', [validators.DataRequired()])
|
|
password = PasswordField('Password', [validators.DataRequired()]) |