aboutsummaryrefslogtreecommitdiff
path: root/src/web/forms.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-20 14:48:25 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-20 14:48:25 +0200
commit8bb831a4c3ce3a2e9c0d61a5a058db87a9e408a0 (patch)
treed2f2eb71f19808ea5f56f419595279658fc95035 /src/web/forms.py
parentlazy loading of the translation (diff)
downloadnewspipe-8bb831a4c3ce3a2e9c0d61a5a058db87a9e408a0.tar.gz
newspipe-8bb831a4c3ce3a2e9c0d61a5a058db87a9e408a0.tar.bz2
newspipe-8bb831a4c3ce3a2e9c0d61a5a058db87a9e408a0.zip
Draft for a public user profile page.
Diffstat (limited to 'src/web/forms.py')
-rw-r--r--src/web/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/forms.py b/src/web/forms.py
index e73cfb98..4770f70c 100644
--- a/src/web/forms.py
+++ b/src/web/forms.py
@@ -162,6 +162,7 @@ class ProfileForm(Form):
refresh_rate = IntegerField(lazy_gettext("Feeds refresh frequency "
"(in minutes)"),
default=60)
+ is_public_profile = BooleanField(lazy_gettext("Public profile"), default=True)
submit = SubmitField(lazy_gettext("Save"))
def validate(self):
bgstack15