diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-05-10 19:15:28 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-05-10 19:15:28 +0200 |
commit | 96358c6cf10e79b3375e0a5035ecc94bddfe933d (patch) | |
tree | 44efa6b0fc415be3c2e65d6d51d6df7353334760 /app/views/consts.py | |
parent | 92fcf8fcf23ac99aafd64a44e6cf8d4951dee796 (diff) | |
download | kosten-96358c6cf10e79b3375e0a5035ecc94bddfe933d.tar.gz kosten-96358c6cf10e79b3375e0a5035ecc94bddfe933d.tar.bz2 kosten-96358c6cf10e79b3375e0a5035ecc94bddfe933d.zip |
Fix redirect
Diffstat (limited to '')
-rw-r--r-- | app/views/consts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/consts.py b/app/views/consts.py index 6200bfa..dab02e0 100644 --- a/app/views/consts.py +++ b/app/views/consts.py @@ -70,7 +70,7 @@ def edit(id): elif form.validate(): # change form.populate_obj(exp) db.session.commit() - return redirect(".show") + return redirect(".show", id = id) return { 'form': form } |