This commit is contained in:
Martin Quarda 2024-10-13 08:38:53 +02:00
parent 2b58ce8930
commit 2274bac99e

View File

@ -72,7 +72,7 @@ class Product(models.Model):
quantity = models.IntegerField()
def __str__(self):
f"<Product {self.name} {self.price} Kč zbývá {self.quantity}>"
return f"<Product {self.name} {self.price} Kč zbývá {self.quantity}>"
class Cart(models.Model):