diff options
Diffstat (limited to 'python/Dawn')
| -rw-r--r-- | python/Dawn/views.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py index dc37640b..d204ef8a 100644 --- a/python/Dawn/views.py +++ b/python/Dawn/views.py @@ -154,6 +154,10 @@ def list_cds_trades(): trade_list = CDSDeal.query.order_by(CDSDeal.trade_date.desc(), CDSDeal.id.desc()) return render_template('cds_blotter.html', trades=trade_list.all()) +@app.route('/repoblotter') +def list_repo_trades(): + trade_list = RepoDeal.query.order_by(RepoDeal.trade_date.desc(), RepoDeal.id.desc()) + return render_template('repo_blotter.html', trades=trade_list.all()) @app.route('/tickets/<int:tradeid>') def download_ticket(tradeid): |
