aboutsummaryrefslogtreecommitdiff
path: root/src/web/forms.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-05-29 22:58:20 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-05-29 22:58:20 +0200
commitb0049442eee94a1636490c091215bd706f819558 (patch)
treee44b18eddfcc0134ed4fc2b38821740617fac694 /src/web/forms.py
parentBugfix: it was not possible to delete a user with categories. (diff)
downloadnewspipe-b0049442eee94a1636490c091215bd706f819558.tar.gz
newspipe-b0049442eee94a1636490c091215bd706f819558.tar.bz2
newspipe-b0049442eee94a1636490c091215bd706f819558.zip
Fixed some depreciations with the new version of Flask.
Diffstat (limited to 'src/web/forms.py')
-rw-r--r--src/web/forms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/forms.py b/src/web/forms.py
index c0526512..e73cfb98 100644
--- a/src/web/forms.py
+++ b/src/web/forms.py
@@ -27,12 +27,12 @@ __copyright__ = "Copyright (c) Cedric Bonhomme"
__license__ = "GPLv3"
from flask import flash, url_for, redirect
-from flask.ext.wtf import Form
-from flask.ext.babel import lazy_gettext
+from flask_wtf import Form
+from flask_babel import lazy_gettext
from werkzeug.exceptions import NotFound
from wtforms import TextField, TextAreaField, PasswordField, BooleanField, \
SubmitField, IntegerField, SelectField, validators, HiddenField
-from flask.ext.wtf.html5 import EmailField
+from flask_wtf.html5 import EmailField
from web.lib import misc_utils
from web.controllers import UserController
bgstack15