Feature/#10 crear formularios
-
project/apps/edicto/constants.py 0 → 100644
from django.utils.translation import gettext_lazy as _ INICIADO = 'iniciado' PENDIENTE_DE_PAGO = 'pendiente_de_pago' PUBLICADO = 'publicado' RECHAZADO = 'rechazado' STATUS_CHOICE = [ (INICIADO, _('iniciado')), (PENDIENTE_DE_PAGO, _('pendiente_de_pago')), (PUBLICADO, _('publicado')), (RECHAZADO, _('rechazado')), ] -
project/apps/edicto/migrations/0001_initial.py 0 → 100644
'verbose_name_plural': 'Edictos', }, ), migrations.CreateModel( name='ComprobantePago', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('resultado', models.FloatField()), ('numero_comprobante', models.CharField(max_length=300)), ('fecha_pago', models.DateTimeField()), ('edicto', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='edicto.edicto')), ], options={ 'verbose_name': 'ComprobantePago', 'verbose_name_plural': 'ComprobantesPagos', }, -
Added 1 commit:
- 4c08902d - cambios_en_serializer_y_models
-
Please register or login to post a comment