mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-06 14:04:12 +00:00
feat: create app orders and makemigrations
This commit is contained in:
@@ -11,6 +11,7 @@ class Product(models.Model):
|
||||
price = models.DecimalField(max_digits=10, decimal_places=2)
|
||||
quantity = models.IntegerField(null=False, default=0)
|
||||
category = models.ForeignKey(Categories, on_delete=models.CASCADE)
|
||||
cuisine = models.BooleanField(default=False)
|
||||
active = models.BooleanField(default=True)
|
||||
|
||||
def __str__(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user