aboutsummaryrefslogtreecommitdiff
path: root/budget
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-08-22 23:29:10 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2011-08-22 23:29:10 +0200
commite0a40a0c7c9ef271710e47cfa7d9ba7da5db4763 (patch)
tree112f3e9ad8bd6552089a15ded57d02787ea0701c /budget
parente97d460a4a12222d7727e5161a8e2a4f43c1ff81 (diff)
downloadihatemoney-mirror-e0a40a0c7c9ef271710e47cfa7d9ba7da5db4763.zip
ihatemoney-mirror-e0a40a0c7c9ef271710e47cfa7d9ba7da5db4763.tar.gz
ihatemoney-mirror-e0a40a0c7c9ef271710e47cfa7d9ba7da5db4763.tar.bz2
display a flash message when an user is coming back
Diffstat (limited to 'budget')
-rw-r--r--budget/web.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/budget/web.py b/budget/web.py
index c69189e..4724baa 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -179,6 +179,7 @@ def add_member():
if person:
person[0].activated = True
db.session.commit()
+ flash("%s is part of this project again" % person[0].name)
return redirect(url_for("list_bills"))
db.session.add(Person(name=form.name.data, project=g.project))