summaryrefslogtreecommitdiff
path: root/app/views/consts.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-10-16 01:55:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-10-16 01:55:29 +0200
commit660e2645301673477543ac489b42c2a083bda85d (patch)
tree527eb36617d0694edc68415f6a3a9bf916b3c7b9 /app/views/consts.py
parent66b6c57c075de0e45bfdb0d574120c409512d36f (diff)
downloadkosten-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.py2
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)