From 19ae3ab3b2af98c5e39e8a73dc9b5d973dda5aa3 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sat, 8 Oct 2011 13:45:05 +0200 Subject: merge with master --- budget/web.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'budget/web.py') 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("//members/add", methods=["GET", "POST"]) @@ -258,7 +258,7 @@ def remove_member(member_id): @main.route("//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) -- cgit v1.1