diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-08 13:45:05 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-08 13:45:05 +0200 |
| commit | 19ae3ab3b2af98c5e39e8a73dc9b5d973dda5aa3 (patch) | |
| tree | cc018b121b7b6965f3cb9ab2dc57c8ec01090fb3 /budget/web.py | |
| parent | 48bc551853b8b0067cdaeef98b3e454c3249f98f (diff) | |
| download | ihatemoney-mirror-19ae3ab3b2af98c5e39e8a73dc9b5d973dda5aa3.zip ihatemoney-mirror-19ae3ab3b2af98c5e39e8a73dc9b5d973dda5aa3.tar.gz ihatemoney-mirror-19ae3ab3b2af98c5e39e8a73dc9b5d973dda5aa3.tar.bz2 | |
merge with master
Diffstat (limited to 'budget/web.py')
| -rw-r--r-- | budget/web.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/budget/web.py b/budget/web.py index 94c42d3..28740fc 100644 --- a/budget/web.py +++ b/budget/web.py @@ -219,7 +219,7 @@ def list_bills(): bills = g.project.get_bills() return render_template("list_bills.html", bills=bills, member_form=MemberForm(g.project), - bill_form=get_billform_for(request, g.project) + bill_form=get_billform_for(g.project) ) @main.route("/<project_id>/members/add", methods=["GET", "POST"]) @@ -258,7 +258,7 @@ def remove_member(member_id): @main.route("/<project_id>/add", methods=["GET", "POST"]) def add_bill(): - form = get_billform_for(request, g.project) + form = get_billform_for(g.project) if request.method == 'POST': if form.validate(): bill = Bill() @@ -292,7 +292,7 @@ def edit_bill(bill_id): if not bill: raise werkzeug.exceptions.NotFound() - form = get_billform_for(request, g.project, set_default=False) + form = get_billform_for(g.project, set_default=False) if request.method == 'POST' and form.validate(): form.save(bill, g.project) |
