diff options
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 } |