formatting

This commit is contained in:
Andrew Croce 2018-09-25 14:18:32 -04:00
parent 9415f14451
commit 5572dfedba
2 changed files with 3 additions and 4 deletions

View File

@ -5,9 +5,7 @@ from wtforms.validators import Email, Required
from .fields import SelectField
from .forms import ValidatedForm
from .data import (
SERVICE_BRANCHES,
)
from .data import SERVICE_BRANCHES
from .validators import Alphabet, DateRange, PhoneNumber
@ -21,7 +19,7 @@ class EditUserForm(ValidatedForm):
email = EmailField(
"E-mail Address",
description="Enter your preferred contact e-mail address",
validators=[Required(), Email()]
validators=[Required(), Email()],
)
phone_number = TelField(

View File

@ -98,6 +98,7 @@ def user():
user = g.current_user
return render_template("user/edit.html", form=form, user=user)
@bp.route("/save_user")
def save_user():
# no op