summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-04-16 00:21:01 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-04-16 00:21:01 +0200
commitb9b9200795b9fe7f6d054f117934e179a44f0224 (patch)
treea01181e454b49f18fb9d04de471591953c281a9f /app/views
parent02172e39c15272f9567bd39a28ec24d0270ea70f (diff)
downloadkosten-b9b9200795b9fe7f6d054f117934e179a44f0224.tar.gz
kosten-b9b9200795b9fe7f6d054f117934e179a44f0224.tar.bz2
kosten-b9b9200795b9fe7f6d054f117934e179a44f0224.zip
Fix templated
Diffstat (limited to 'app/views')
-rw-r--r--app/views/consts.py2
-rw-r--r--app/views/expenses.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/consts.py b/app/views/consts.py
index 441137d..6200bfa 100644
--- a/app/views/consts.py
+++ b/app/views/consts.py
@@ -75,7 +75,7 @@ def edit(id):
return { 'form': form }
@mod.route("/add/from/<int:other>")
-@templated("add")
+@templated(".add")
def add_from(other):
exp = ConstExpense() # needed to initialize 'CE.next'
diff --git a/app/views/expenses.py b/app/views/expenses.py
index c0d9c65..57a777a 100644
--- a/app/views/expenses.py
+++ b/app/views/expenses.py
@@ -46,7 +46,7 @@ def is_last(exp):
return exp.date >= datetime.date.today().replace(day = 1)
@mod.route("/<int(fixed_digits=4):year>/<int(fixed_digits=2):month>")
-@templated("show")
+@templated(".show")
def show_date(year, month):
c = calc_month_exp(year, month)
return { 'exps' : [c] }