diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-01-26 18:31:16 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-01-26 18:31:16 +0100 |
commit | b1d8312c944f7416202a9855aaecb1ebfb0bb034 (patch) | |
tree | 4222f370521f7e5deb793d8076f304548dbd3419 /pyaggr3g470r | |
parent | The description of the feed is stored in the database. (diff) | |
download | newspipe-b1d8312c944f7416202a9855aaecb1ebfb0bb034.tar.gz newspipe-b1d8312c944f7416202a9855aaecb1ebfb0bb034.tar.bz2 newspipe-b1d8312c944f7416202a9855aaecb1ebfb0bb034.zip |
The description is not required.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/models.py | 2 |
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) |