This commit is contained in:
jp.av.dev 2020-11-13 01:14:23 -03:00
parent cec2d7813b
commit afd417c728
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,5 @@
from django.apps import AppConfig
class GestionpedidosConfig(AppConfig):
name = 'gestionPedidos'

View File

@ -0,0 +1,22 @@
from django.db import models
class Clientes(models.Model):
nombre = models.CharField(max_length=30)
direccion = models.CharField(max_length=50)
email = models.EmailField()
fono = models.CharField(max_length=10)
class Articulos(models.Model):
nombre = models.CharField(max_length=30)
seccion = models.CharField(max_length=20)
precio = models.IntegerField()
class Pedidos (models.Model):
numero = models.IntegerField()
fecha = models.DateField()
entregado = models.BooleanField()