aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index 1234b0a8..2c94e960 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -33,7 +33,7 @@ class User(Document, UserMixin):
class Feed(EmbeddedDocument):
oid = ObjectIdField(default=bson.objectid.ObjectId , primary_key=True)
title = StringField(required=True)
- link = StringField(required=True)
+ link = StringField(required=True, unique=True)
site_link = StringField(required=True)
mail = BooleanField(default=False)
articles = ListField(ReferenceField('Article', dbref = False))
bgstack15