diff --git a/apps/rss_feeds/models.py b/apps/rss_feeds/models.py index 5c434e7ba..affe8ac32 100644 --- a/apps/rss_feeds/models.py +++ b/apps/rss_feeds/models.py @@ -1094,7 +1094,7 @@ class MFeedPage(mongo.Document): class MStory(mongo.Document): '''A feed item''' - story_feed_id = mongo.IntField() + story_feed_id = mongo.IntField(unique_with='story_guid') story_date = mongo.DateTimeField() story_title = mongo.StringField(max_length=1024) story_content = mongo.StringField()