aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/forms.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-23 19:27:30 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-23 19:27:30 +0100
commitb2c2b35f8f1321a8becc49a1c8e61a6123ed616f (patch)
tree1de5892d7f8911e0456e069b19b3b59922e89079 /pyaggr3g470r/forms.py
parentTest if a feed already exists before creating a new one. (diff)
downloadnewspipe-b2c2b35f8f1321a8becc49a1c8e61a6123ed616f.tar.gz
newspipe-b2c2b35f8f1321a8becc49a1c8e61a6123ed616f.tar.bz2
newspipe-b2c2b35f8f1321a8becc49a1c8e61a6123ed616f.zip
It is now possible to enable or disable (stop checking for updates) a feed.
Diffstat (limited to 'pyaggr3g470r/forms.py')
-rw-r--r--pyaggr3g470r/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyaggr3g470r/forms.py b/pyaggr3g470r/forms.py
index deebea3a..0aed7da6 100644
--- a/pyaggr3g470r/forms.py
+++ b/pyaggr3g470r/forms.py
@@ -55,6 +55,7 @@ class AddFeedForm(Form):
link = TextField("Feed link", [validators.Required("Please enter a link for the feed.")])
site_link = TextField("Site link", [validators.Required("Please enter a site URL.")])
email_notification = BooleanField("Email notification", default=False)
+ enabled = BooleanField("Check for updates", default=True)
submit = SubmitField("Save")
def __init__(self, *args, **kwargs):
bgstack15