2731531768
also cleant up a bit the import towards PEP8: builtin modules first, then 3rd party python packages, then local packages
10 lines
286 B
Python
10 lines
286 B
Python
from __future__ import absolute_import
|
|
|
|
from flask_wtf import Form
|
|
from wtforms import StringField, PasswordField, validators
|
|
|
|
|
|
class LoginForm(Form):
|
|
login = StringField('Username', [validators.DataRequired()])
|
|
password = PasswordField('Password', [validators.DataRequired()])
|