diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-10-16 01:55:29 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-10-16 01:55:29 +0200 |
commit | 660e2645301673477543ac489b42c2a083bda85d (patch) | |
tree | 527eb36617d0694edc68415f6a3a9bf916b3c7b9 /app/views/consts.py | |
parent | 66b6c57c075de0e45bfdb0d574120c409512d36f (diff) | |
download | kosten-660e2645301673477543ac489b42c2a083bda85d.tar.gz kosten-660e2645301673477543ac489b42c2a083bda85d.tar.bz2 kosten-660e2645301673477543ac489b42c2a083bda85d.zip |
Forgot two places where to show flashes on validation errors
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) |