Enzo Yair

filtros modelo edicto

1 -# Generated by Django 4.1.9 on 2023-09-27 13:06 1 +# Generated by Django 4.1.9 on 2023-09-27 13:27
2 2
3 from django.conf import settings 3 from django.conf import settings
4 from django.db import migrations, models 4 from django.db import migrations, models
@@ -14,11 +14,6 @@ class Migration(migrations.Migration): @@ -14,11 +14,6 @@ class Migration(migrations.Migration):
14 14
15 operations = [ 15 operations = [
16 migrations.AlterField( 16 migrations.AlterField(
17 - model_name='comprobantepago',  
18 - name='monto',  
19 - field=models.FloatField(editable=False, null=True),  
20 - ),  
21 - migrations.AlterField(  
22 model_name='edicto', 17 model_name='edicto',
23 name='creado_por', 18 name='creado_por',
24 field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), 19 field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
@@ -58,7 +58,7 @@ class ComprobantePago(models.Model): @@ -58,7 +58,7 @@ class ComprobantePago(models.Model):
58 verbose_name = 'ComprobantePago' 58 verbose_name = 'ComprobantePago'
59 verbose_name_plural = 'ComprobantesPagos' 59 verbose_name_plural = 'ComprobantesPagos'
60 60
61 - monto = models.FloatField(editable=False, null=True) 61 + monto = models.FloatField()
62 numero_comprobante = models.CharField(max_length=300, blank=True, null=True) 62 numero_comprobante = models.CharField(max_length=300, blank=True, null=True)
63 fecha_pago = models.DateTimeField(blank=True, null=True) 63 fecha_pago = models.DateTimeField(blank=True, null=True)
64 edicto = models.OneToOneField(Edicto, on_delete=models.CASCADE) 64 edicto = models.OneToOneField(Edicto, on_delete=models.CASCADE)