Skip to content

Commit

Permalink
Finished
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksa-32 committed Jan 5, 2025
1 parent 57de0ef commit 6918e41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cinema/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from cinema.models import Movie, Actor, CinemaHall, Genre
from cinema.serializers import (MovieSerializer, ActorSerializer,
GenreSerializer)
GenreSerializer, CinemaHallSerializer)


class GenreList(APIView):
Expand Down Expand Up @@ -92,7 +92,7 @@ class CinemaHallViewSet(
viewsets.GenericViewSet
):
queryset = CinemaHall.objects.all()
serializer_class = CinemaHall.objects.all()
serializer_class = CinemaHallSerializer


class MovieViewSet(viewsets.ModelViewSet):
Expand Down

0 comments on commit 6918e41

Please sign in to comment.