diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-13 23:30:44 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-13 23:30:44 +0100 |
commit | 12b6d7ab50306ee485e871e51bc39816a6663971 (patch) | |
tree | d109a464a5e61e234f653a297182c9e1936f1b05 /pyaggr3g470r/views.py | |
parent | Improved search box. (diff) | |
download | newspipe-12b6d7ab50306ee485e871e51bc39816a6663971.tar.gz newspipe-12b6d7ab50306ee485e871e51bc39816a6663971.tar.bz2 newspipe-12b6d7ab50306ee485e871e51bc39816a6663971.zip |
Test for the /history page.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r-- | pyaggr3g470r/views.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 53172b16..a7c99c99 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -229,6 +229,12 @@ def management(): return render_template('management.html', form=form, \ nb_feeds=nb_feeds, nb_articles=nb_articles, nb_unread_articles=nb_unread_articles) +@app.route('/history/', methods=['GET']) +@login_required +def history(): + user = models.User.objects(email=g.user.email).first() + return render_template('history.html') + @app.route('/edit_feed/', methods=['GET', 'POST']) @app.route('/edit_feed/<feed_id>', methods=['GET', 'POST']) @login_required |