Showing
1 changed file
with
1 additions
and
1 deletions
@@ -26,7 +26,7 @@ class EdictoViewSet(mixins.CreateModelMixin, | @@ -26,7 +26,7 @@ class EdictoViewSet(mixins.CreateModelMixin, | ||
26 | filterset_class = EdictoFilter | 26 | filterset_class = EdictoFilter |
27 | queryset = Edicto.objects.all() | 27 | queryset = Edicto.objects.all() |
28 | ordering_fields = ('usuario',) | 28 | ordering_fields = ('usuario',) |
29 | - ordering = 'fecha_creacion' | 29 | + ordering = ('fecha_creacion', 'id',) |
30 | lookup_field = 'uuid' | 30 | lookup_field = 'uuid' |
31 | 31 | ||
32 | def perform_create(self, serializer): | 32 | def perform_create(self, serializer): |
-
Please register or login to post a comment