aboutsummaryrefslogtreecommitdiff
path: root/src/web/models/feed.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/models/feed.py')
-rw-r--r--src/web/models/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/models/feed.py b/src/web/models/feed.py
index 87616e02..9d08a972 100644
--- a/src/web/models/feed.py
+++ b/src/web/models/feed.py
@@ -59,7 +59,7 @@ class Feed(db.Model):
category_id = db.Column(db.Integer(), db.ForeignKey('category.id'))
articles = db.relationship('Article', backref='source', lazy='dynamic',
cascade='all,delete-orphan',
- order_by=desc("Article.date"))
+ order_by=desc("date"))
def __repr__(self):
return '<Feed %r>' % (self.title)
bgstack15