summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-04-15 22:51:32 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-04-15 22:59:29 +0200
commit546f6741e830616c2a877691186ab390cac9e28c (patch)
tree9dac4cb18d6650e95e7f8041891eb9cf860dce00 /app/views
parentaad0dc558dd880bf516d3c87a6448041bec274f9 (diff)
downloadkosten-546f6741e830616c2a877691186ab390cac9e28c.tar.gz
kosten-546f6741e830616c2a877691186ab390cac9e28c.tar.bz2
kosten-546f6741e830616c2a877691186ab390cac9e28c.zip
Add expense should redirect to itself
Diffstat (limited to '')
-rw-r--r--app/views/expenses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/expenses.py b/app/views/expenses.py
index 500f103..583ac79 100644
--- a/app/views/expenses.py
+++ b/app/views/expenses.py
@@ -100,6 +100,6 @@ def add():
db.session.add(exp)
db.session.commit()
- return redirect(url_for("index"))
+ return redirect(url_for(".add"))
return render_template(T("add"), form=form)