aboutsummaryrefslogtreecommitdiff
path: root/src/web/forms.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-24 13:30:11 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-24 13:30:11 +0200
commit106d83ea8157c6f14a399716381ddf07ac21a024 (patch)
treefab0f6c0fa0dd449b52242377da17c97e0bb8168 /src/web/forms.py
parentUpdated deprecated code. (diff)
downloadnewspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.gz
newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.bz2
newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.zip
add the possibility to mak a feed as private
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 4ea646fc..be1650d8 100644
--- a/src/web/forms.py
+++ b/src/web/forms.py
@@ -191,6 +191,7 @@ class AddFeedForm(Form):
submit = SubmitField(lazy_gettext("Save"))
category_id = SelectField(lazy_gettext("Category of the feed"),
[validators.Optional()])
+ private = BooleanField(lazy_gettext("Private"), default=False)
def set_category_choices(self, categories):
self.category_id.choices = [('0', 'No Category')]
bgstack15