diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-22 23:29:10 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-22 23:29:10 +0200 |
| commit | e0a40a0c7c9ef271710e47cfa7d9ba7da5db4763 (patch) | |
| tree | 112f3e9ad8bd6552089a15ded57d02787ea0701c /budget/web.py | |
| parent | e97d460a4a12222d7727e5161a8e2a4f43c1ff81 (diff) | |
| download | ihatemoney-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/web.py')
| -rw-r--r-- | budget/web.py | 1 |
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)) |
