From e0a40a0c7c9ef271710e47cfa7d9ba7da5db4763 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 22 Aug 2011 23:29:10 +0200 Subject: [PATCH] display a flash message when an user is coming back --- budget/web.py | 1 + 1 file changed, 1 insertion(+) 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))