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 0dcec57..dbf2422 100644 --- a/app/views/consts.py +++ b/app/views/consts.py @@ -75,7 +75,7 @@ def edit(id): db.session.commit() return redirect('.list') - elif form.validate(): # change + elif form.flash_validate(): # change form.populate_obj(exp) db.session.commit() return redirect('.show', id = id) |