diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-15 22:51:32 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-15 22:59:29 +0200 |
commit | 546f6741e830616c2a877691186ab390cac9e28c (patch) | |
tree | 9dac4cb18d6650e95e7f8041891eb9cf860dce00 /app/views | |
parent | aad0dc558dd880bf516d3c87a6448041bec274f9 (diff) | |
download | kosten-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.py | 2 |
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) |