aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-26 18:31:16 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-26 18:31:16 +0100
commitb1d8312c944f7416202a9855aaecb1ebfb0bb034 (patch)
tree4222f370521f7e5deb793d8076f304548dbd3419 /pyaggr3g470r/models.py
parentThe description of the feed is stored in the database. (diff)
downloadnewspipe-b1d8312c944f7416202a9855aaecb1ebfb0bb034.tar.gz
newspipe-b1d8312c944f7416202a9855aaecb1ebfb0bb034.tar.bz2
newspipe-b1d8312c944f7416202a9855aaecb1ebfb0bb034.zip
The description is not required.
Diffstat (limited to 'pyaggr3g470r/models.py')
-rw-r--r--pyaggr3g470r/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index 00605b2a..d2f1549d 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -64,7 +64,7 @@ class Feed(EmbeddedDocument):
"""
oid = ObjectIdField(default=bson.objectid.ObjectId , primary_key=True)
title = StringField(required=True)
- description = StringField(required=True)
+ description = StringField(default="")
link = StringField(required=True, unique=True)
site_link = StringField(required=True)
email_notification = BooleanField(default=False)
bgstack15