fix
This commit is contained in:
parent
2b58ce8930
commit
2274bac99e
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user