fix [back]: correct film ordering
This commit is contained in:
parent
906710efc0
commit
4884be5724
1 changed files with 1 additions and 1 deletions
|
@ -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]):
|
||||
|
|
Loading…
Reference in a new issue