aboutsummaryrefslogtreecommitdiff
path: root/src/web/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/models')
-rw-r--r--src/web/models/feed.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/models/feed.py b/src/web/models/feed.py
index b0df0d16..6c2a5945 100644
--- a/src/web/models/feed.py
+++ b/src/web/models/feed.py
@@ -80,4 +80,5 @@ class Feed(db.Model):
"last_error": self.last_error,
"created_date": self.created_date,
"last_modified": self.last_modified,
- "last_retrieved": self.last_retrieved}
+ "last_retrieved": self.last_retrieved,
+ "nb_articles": self.articles.count()}
bgstack15