From 7dd7d1d14fbb3c85cbda4b0af4c949e17ce2329f Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 28 Nov 2011 00:36:00 +0100 Subject: [PATCH] add a (dead simple) dashboard. Fixes #42 --- budget/web.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/budget/web.py b/budget/web.py index 31c2ced..c5e0da2 100644 --- a/budget/web.py +++ b/budget/web.py @@ -357,3 +357,7 @@ def create_archive(): flash(_("The data from XX to XX has been archived")) return render_template("create_archive.html", form=form) + +@main.route("/dashboard") +def dashboard(): + return render_template("dashboard.html", projects=Project.query.all())