Enzo Yair

configuracion del migrate initial

... ... @@ -63,7 +63,6 @@ class Migration(migrations.Migration):
models.UUIDField(
default=uuid.uuid4,
editable=False,
primary_key=True,
serialize=False,
unique=True,
),
... ...
... ... @@ -31,7 +31,7 @@ class Edicto(models.Model):
verbose_name = 'Edicto'
verbose_name_plural = 'Edictos'
uuid = models.UUIDField(unique=True, editable=False, default=uuid4, primary_key=True)
uuid = models.UUIDField(unique=True, editable=False, default=uuid4)
cuerpo_edicto = models.TextField(blank=False)
archivo = models.FileField(upload_to="uploads/%Y/%m/%d/")
dias_publicar = models.PositiveIntegerField()
... ...