[models] update / doc

This commit is contained in:
Nico Schottelius 2020-08-01 16:29:24 +02:00
commit 64780bfc6c
2 changed files with 29 additions and 7 deletions

View file

@ -56,7 +56,7 @@ def default_payment_delay():
# See https://docs.djangoproject.com/en/dev/ref/models/fields/#field-choices-enum-types
class RecurringPeriod(models.IntegerChoices):
"""
We don't support months are years, because the vary in length.
We don't support months are years, because they vary in length.
This is not only complicated, but also unfair to the user, as the user pays the same
amount for different durations.
"""
@ -648,6 +648,9 @@ class Product(UncloudModel):
@property
def one_time_price(self):
"""
Default is 0 CHF
"""
return 0
@property