diff options
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index ae10a5a9..f33ae425 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -99,7 +99,7 @@ def feeds(): @app.route('/feed/<feed_id>', methods=['GET']) @login_required def feed(feed_id=None): - feed = models.Article.objects(id=feed_id).first() + feed = models.Feed.objects(id=feed_id).first() return render_template('feed.html', feed=feed) @app.route('/article/<article_id>', methods=['GET']) |