add url image product

This commit is contained in:
2025-07-05 16:21:56 -03:00
parent 7c6586bbce
commit b969ea6663
9 changed files with 45 additions and 3 deletions

View File

@@ -15,4 +15,4 @@ class Product(models.Model):
active = models.BooleanField(default=True)
def __str__(self) -> str:
return self.name
return f"{self.id} - {self.name} - {self.price} - {self.category} - {self.cuisine} - {self.active} "