Define a default value for Order.payment_fee

This commit is contained in:
Raphael Michel
2015-03-08 16:07:18 +01:00
parent 81ab0a4fd2
commit 8aec2cc6b0
2 changed files with 20 additions and 1 deletions

View File

@@ -1270,7 +1270,7 @@ class Order(Versionable):
)
payment_fee = models.DecimalField(
decimal_places=2, max_digits=10,
verbose_name=_("Payment method fee")
default=0, verbose_name=_("Payment method fee")
)
payment_info = models.TextField(
verbose_name=_("Payment information"),