fix [back]: correct film ordering

This commit is contained in:
Alice 2022-08-27 20:07:04 +02:00
parent 906710efc0
commit 4884be5724

View file

@ -18,7 +18,7 @@ import myapi.services.com_service as com
class AdminFilmViewSet(viewsets.ModelViewSet):
queryset = Film.objects.all().order_by("projection_date")
queryset = Film.objects.all().order_by("-projection_date")
serializer_class = FilmSerializer
def general_com_view(self, com_function: Callable[[Film], str]):