diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-09-21 08:19:09 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-09-21 08:19:09 +0200 |
commit | cb81d058e5738bd9d5a0fab3334dec2371ca5013 (patch) | |
tree | f23b8637ab3f669fb0ea0083e8a2a7ec4a450741 /src/web/forms.py | |
parent | Add new stop words. (diff) | |
download | newspipe-cb81d058e5738bd9d5a0fab3334dec2371ca5013.tar.gz newspipe-cb81d058e5738bd9d5a0fab3334dec2371ca5013.tar.bz2 newspipe-cb81d058e5738bd9d5a0fab3334dec2371ca5013.zip |
add column webpage in the user table
Diffstat (limited to 'src/web/forms.py')
-rw-r--r-- | src/web/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/forms.py b/src/web/forms.py index 4770f70c..905a0b2a 100644 --- a/src/web/forms.py +++ b/src/web/forms.py @@ -32,7 +32,7 @@ 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_wtf.html5 import EmailField +from flask_wtf.html5 import EmailField, URLField from web.lib import misc_utils from web.controllers import UserController @@ -159,6 +159,7 @@ class ProfileForm(Form): validators.Required(lazy_gettext("Please enter your email."))]) password = PasswordField(lazy_gettext("Password")) password_conf = PasswordField(lazy_gettext("Password Confirmation")) + webpage = URLField(lazy_gettext("Webpage")) refresh_rate = IntegerField(lazy_gettext("Feeds refresh frequency " "(in minutes)"), default=60) |