aboutsummaryrefslogtreecommitdiff
path: root/budget
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-11-28 00:36:00 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2011-11-28 00:36:00 +0100
commit7dd7d1d14fbb3c85cbda4b0af4c949e17ce2329f (patch)
tree9134c400104cfb036b25995791a1f4a9ff026e20 /budget
parentfc88b65bbeb002eaa4d270b294ca93e300131691 (diff)
downloadihatemoney-mirror-7dd7d1d14fbb3c85cbda4b0af4c949e17ce2329f.zip
ihatemoney-mirror-7dd7d1d14fbb3c85cbda4b0af4c949e17ce2329f.tar.gz
ihatemoney-mirror-7dd7d1d14fbb3c85cbda4b0af4c949e17ce2329f.tar.bz2
add a (dead simple) dashboard. Fixes #42
Diffstat (limited to 'budget')
-rw-r--r--budget/web.py4
1 files changed, 4 insertions, 0 deletions
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())