From 8a79f2d00c4a1a5c7e480e1409e7db2278ed021d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Sureau?= Date: Wed, 10 Aug 2011 13:05:01 +0200 Subject: [PATCH] The delete bill feature has been fixed. #6 --- budget/web.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/budget/web.py b/budget/web.py index 601ee81..d529171 100644 --- a/budget/web.py +++ b/budget/web.py @@ -182,7 +182,6 @@ def add_bill(project): def delete_bill(project, bill_id): bill = Bill.query.get_or_404(bill_id) db.session.delete(bill) - # FIXME Delete also billowers relations db.session.commit() flash("The bill has been deleted") @@ -195,7 +194,6 @@ def edit_bill(project, bill_id): bill = Bill.query.get_or_404(bill_id) form = get_billform_for(project) if request.method == 'POST' and form.validate(): - # FIXME Edit also billowers relations form.save(bill) db.session.commit()