aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models.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/models.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/models.py')
-rw-r--r--pyaggr3g470r/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index 3ec0e6fe..718ff19a 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -67,6 +67,7 @@ class Feed(EmbeddedDocument):
link = StringField(required=True, unique=True)
site_link = StringField(required=True)
email_notification = BooleanField(default=False)
+ enabled = BooleanField(default=True)
articles = ListField(ReferenceField('Article', dbref = False))
created_date = DateTimeField(required=True, default=datetime.now)
bgstack15