Skip to content

Commit af6e451

Browse files
committed
Actualizar stack flask/webargs/wtforms a versiones recientes.
Nota: webargs sube de 1.2 solo a 5.5 en lugar de 6.0 porque esta última no funciona en nuestro código sin cambios.
1 parent 7a67591 commit af6e451

File tree

4 files changed

+57
-26
lines changed

4 files changed

+57
-26
lines changed

.flaskenv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FLASK_APP=notasweb.py
2+
FLASK_ENV=development

Pipfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ name = "pypi"
77
gspread = "==0.2.*"
88
httplib2 = "==0.17.*"
99
oauth2client = "~=4.1"
10-
webargs = "==1.2.*"
11-
flask = "==0.10.*"
12-
flask-wtf = "==0.12"
13-
werkzeug = "==0.14.*"
14-
marshmallow = "==2.18.*"
15-
wtforms = "==2.2.*"
10+
webargs = "~=5.0"
11+
flask = "~=1.1"
12+
flask-wtf = "==0.14.*"
13+
wtforms = "~=2.3"
14+
email-validator = "~=1.1"
1615

1716
[dev-packages]
1817
python-dotenv = "*"

Pipfile.lock

Lines changed: 49 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

notasweb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
signer = itsdangerous.URLSafeSerializer(app.secret_key)
2525

2626

27-
class Formulario(flask_wtf.Form):
27+
class Formulario(flask_wtf.FlaskForm):
2828
"""Pide el padrón y la dirección de correo.
2929
"""
3030
padron = fields.StringField(

0 commit comments

Comments
 (0)