aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-03-12 20:57:22 +0000
committerAlexis Metaireau <alexis@notmyidea.org>2011-03-12 20:57:22 +0000
commit03ce000e9a7edc6989bc3d40243f769746ea3d22 (patch)
tree0c106382b6611a8706b8f76333f5a923214ba4e0
parent6200eaa48dccd2ddc8b89aa36cd12d35e95ce0f1 (diff)
downloadihatemoney-mirror-03ce000e9a7edc6989bc3d40243f769746ea3d22.zip
ihatemoney-mirror-03ce000e9a7edc6989bc3d40243f769746ea3d22.tar.gz
ihatemoney-mirror-03ce000e9a7edc6989bc3d40243f769746ea3d22.tar.bz2
fix typos
-rw-r--r--budget/budget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/budget.py b/budget/budget.py
index 53f6b84..e22b053 100644
--- a/budget/budget.py
+++ b/budget/budget.py
@@ -34,7 +34,7 @@ class Bill(db.Model):
processed = db.Column(db.Boolean, default=False)
def pay_each(self):
- """Compute what each person have to pay"""
+ """Compute what each person has to pay"""
return round(self.amount / len(self.owers), 2)
def __repr__(self):
@@ -58,7 +58,7 @@ class BillForm(Form):
what = TextField("What?", validators=[Required()])
payer = SelectField("Payer", validators=[Required()], choices=PAYER_CHOICES)
amount = DecimalField("Amount payed", validators=[Required()])
- payed_for = SelectMultipleField("Who have to pay for this?", validators=[Required()], choices=PAYER_CHOICES)
+ payed_for = SelectMultipleField("Who has to pay for this?", validators=[Required()], choices=PAYER_CHOICES)
submit = SubmitField("Add the bill")