diff --git a/la_chariotte/order/models.py b/la_chariotte/order/models.py index 7b335a3..e2c3c33 100644 --- a/la_chariotte/order/models.py +++ b/la_chariotte/order/models.py @@ -153,7 +153,7 @@ class Item(models.Model): ordered_nb = models.IntegerField(default=0) def compute_ordered_nb(self): - """Computes the number of orders for this item.""" + """Computes the number of times this item has been ordered""" ordered_nb = 0 for order in self.orders.all(): ordered_nb += order.nb