mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Small fixes
This commit is contained in:
@ -38,7 +38,7 @@ class Basket(models.Model):
|
||||
return total
|
||||
|
||||
def __str__(self):
|
||||
return "Basket (%d items)" % self.items.all().count()
|
||||
return "%s's basket (%d items)" % (self.user, self.items.all().count())
|
||||
|
||||
class Invoice(models.Model):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user