Marta Miranda

Merge branch 'feature/#74_ordenamiento_edictos' into 'develop'

agregar fecha_modificacion



See merge request !67
@@ -24,7 +24,7 @@ class EdictoViewSet(AuditoriaMixin, mixins.CreateModelMixin, @@ -24,7 +24,7 @@ class EdictoViewSet(AuditoriaMixin, mixins.CreateModelMixin,
24 filter_backends = (DjangoFilterBackend, filters.OrderingFilter) 24 filter_backends = (DjangoFilterBackend, filters.OrderingFilter)
25 filterset_class = EdictoFilter 25 filterset_class = EdictoFilter
26 queryset = Edicto.objects.all() 26 queryset = Edicto.objects.all()
27 - ordering_fields = ('fecha_creacion', 'id', 'estado') 27 + ordering_fields = ('fecha_creacion', 'fecha_modificacion', 'id', 'estado')
28 ordering = ('fecha_publicacion',) 28 ordering = ('fecha_publicacion',)
29 lookup_field = 'uuid' 29 lookup_field = 'uuid'
30 30