Enzo Yair

fecha_creacion

@@ -23,7 +23,7 @@ class EdictoViewSet(mixins.CreateModelMixin, @@ -23,7 +23,7 @@ class EdictoViewSet(mixins.CreateModelMixin,
23 filter_backends = (DjangoFilterBackend, filters.OrderingFilter) 23 filter_backends = (DjangoFilterBackend, filters.OrderingFilter)
24 filterset_class = EdictoFilter 24 filterset_class = EdictoFilter
25 queryset = Edicto.objects.all() 25 queryset = Edicto.objects.all()
26 - ordering_fields = ('fecha_publicacion', 'id') 26 + ordering_fields = ('fecha_creacion', 'id')
27 ordering = ('fecha_publicacion', 'id',) 27 ordering = ('fecha_publicacion', 'id',)
28 lookup_field = 'uuid' 28 lookup_field = 'uuid'
29 29