Skip to content

Commit

Permalink
Delete unnecessary Meta class in MovieSessionDetailSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
molodsh1y1 committed Dec 11, 2024
1 parent 67582b0 commit 4a8da1e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cinema/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,3 @@ class Meta(MovieSessionSerializer.Meta):
class MovieSessionDetailSerializer(MovieSessionSerializer):
movie = MovieListSerializer(read_only=True)
cinema_hall = CinemaHallSerializer(read_only=True)

class Meta(MovieSessionSerializer.Meta):
fields = MovieSessionSerializer.Meta.fields + (
"movie",
"cinema_hall"
)

0 comments on commit 4a8da1e

Please sign in to comment.