Skip to content

Commit 9b9f8c0

Browse files
committed
updated dependencies
1 parent 75694ce commit 9b9f8c0

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

project/server/user/forms.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
# project/server/user/forms.py
22

33

4-
from flask_wtf import Form
4+
from flask_wtf import FlaskForm
55
from wtforms import StringField, PasswordField
66
from wtforms.validators import DataRequired, Email, Length, EqualTo
77

88

9-
class LoginForm(Form):
9+
class LoginForm(FlaskForm):
1010
email = StringField('Email Address', [DataRequired(), Email()])
1111
password = PasswordField('Password', [DataRequired()])
1212

1313

14-
class RegisterForm(Form):
14+
class RegisterForm(FlaskForm):
1515
email = StringField(
1616
'Email Address',
17-
validators=[DataRequired(), Email(message=None), Length(min=6, max=40)])
17+
validators=[
18+
DataRequired(),
19+
Email(message=None),
20+
Length(min=6, max=40)
21+
]
22+
)
1823
password = PasswordField(
1924
'Password',
2025
validators=[DataRequired(), Length(min=6, max=25)]

requirements.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
alembic==0.8.6
2-
bcrypt==3.1.0
1+
alembic==0.8.9
2+
bcrypt==3.1.1
33
blinker==1.4
4-
cffi==1.7.0
4+
cffi==1.9.1
55
click==6.6
6-
coverage==4.1
7-
dominate==2.2.1
6+
coverage==4.2
7+
dominate==2.3.1
88
Flask==0.11.1
99
Flask-Bcrypt==0.7.1
10-
Flask-Bootstrap==3.3.6.0
10+
Flask-Bootstrap==3.3.7.0
1111
Flask-DebugToolbar==0.10.0
12-
Flask-Login==0.3.2
13-
Flask-Migrate==1.8.1
12+
Flask-Login==0.4.0
13+
Flask-Migrate==2.0.2
1414
Flask-Script==2.0.5
1515
Flask-SQLAlchemy==2.1
16-
Flask-Testing==0.5.0
17-
Flask-WTF==0.12
16+
Flask-Testing==0.6.1
17+
Flask-WTF==0.13.1
1818
itsdangerous==0.24
1919
Jinja2==2.8
20-
Mako==1.0.4
20+
Mako==1.0.6
2121
MarkupSafe==0.23
22-
pycparser==2.14
23-
python-editor==1.0.1
22+
pycparser==2.17
23+
python-editor==1.0.3
2424
six==1.10.0
25-
SQLAlchemy==1.0.14
25+
SQLAlchemy==1.1.4
2626
visitor==0.1.3
27-
Werkzeug==0.11.10
27+
Werkzeug==0.11.11
2828
WTForms==2.1

0 commit comments

Comments
 (0)