Enzo Yair

Merge branch 'fix/filtros_ordenamiento' into 'develop'

fecha_creacion



See merge request !42
... ... @@ -23,7 +23,7 @@ class EdictoViewSet(mixins.CreateModelMixin,
filter_backends = (DjangoFilterBackend, filters.OrderingFilter)
filterset_class = EdictoFilter
queryset = Edicto.objects.all()
ordering_fields = ('fecha_publicacion', 'id')
ordering_fields = ('fecha_creacion', 'id')
ordering = ('fecha_publicacion', 'id',)
lookup_field = 'uuid'
... ...
# Generated by Django 4.1.9 on 2023-09-12 15:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('edicto', '0012_migracion_dato_uuid'),
]
operations = [
migrations.AlterField(
model_name='edicto',
name='estado',
field=models.CharField(choices=[('iniciado', 'iniciado'), ('pendiente_revision', 'pendiente_revision'), ('pendiente_de_pago', 'pendiente_de_pago'), ('pendiente_pago_revision', 'pendiente_pago_revision'), ('publicado', 'publicado'), ('aprobado', 'aprobado'), ('rechazado', 'rechazado')], default='inciado', max_length=150),
),
]
... ...