create views comandas

This commit is contained in:
2024-12-12 10:47:36 -03:00
parent ae5d47fa7c
commit 2f84ca97c3
20 changed files with 158 additions and 10 deletions

View File

@@ -3,4 +3,7 @@ from django.db import models
# Create your models here.
class TypePay(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=255)
name = models.CharField(max_length=255)
def __str__(self):
return self.name