diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-14 11:19:29 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-14 11:19:29 +0100 |
commit | 3382e58cb68d321339135965b8e1a2087a992b14 (patch) | |
tree | 4dc295a30bd9add5989fbc6b11b9e5574c272354 /src/web/models/feed.py | |
parent | problem with Alembic fixed... (diff) | |
download | newspipe-3382e58cb68d321339135965b8e1a2087a992b14.tar.gz newspipe-3382e58cb68d321339135965b8e1a2087a992b14.tar.bz2 newspipe-3382e58cb68d321339135965b8e1a2087a992b14.zip |
Major changes to the right panel.
Diffstat (limited to 'src/web/models/feed.py')
-rw-r--r-- | src/web/models/feed.py | 3 |
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()} |