diff --git a/cinema/views.py b/cinema/views.py index f9cf3b54..1fefc8d3 100644 --- a/cinema/views.py +++ b/cinema/views.py @@ -17,7 +17,9 @@ class MovieViewSet(viewsets.ModelViewSet): serializer_class = MovieSerializer -class ActorList(mixins.ListModelMixin, mixins.CreateModelMixin, GenericAPIView): +class ActorList(mixins.ListModelMixin, + mixins.CreateModelMixin, + GenericAPIView): queryset = Actor.objects.all() serializer_class = ActorSerializer