divio/django-shop — pull request #151 by bennylope (2012-05-01 00:25:05+00:00)
Title: Replace `payed` spelling with `paid`

"payed" is a non-standard spelling and potentially very confusing.

This change Adds reference methods and properties so as to maintain backwards compatibility.

```python
def is_paid(self):
"""Has this order been integrally paid for?"""
return self.amount_paid == self.order_total
is_payed = is_paid #Backward compatability, deprecated spelling
```

The tests have been updated to check against both spellings.