From ef13aa35f28346901013697989be7f72c7094d65 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 22 Jun 2014 17:38:42 +0200 Subject: Added a comment for the home() view. --- pyaggr3g470r/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 25717dce..1ff8952a 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -216,6 +216,9 @@ def signup(): @app.route('/') @login_required def home(): + """ + Home page for connected users. Displays by default unread articles. + """ feeds = {feed.id: feed.title for feed in g.user.feeds if feed.enabled} articles = Article.query.filter(Article.feed_id.in_(feeds.keys()), Article.user_id == g.user.id) -- cgit