From edba368d3e6dfbf155b6dfd55e2313882671e581 Mon Sep 17 00:00:00 2001 From: Serhii-Chubur Date: Tue, 7 Jan 2025 17:55:38 +0200 Subject: [PATCH] Solution --- cinema/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cinema/serializers.py b/cinema/serializers.py index 2841eca0..0b84b4c5 100644 --- a/cinema/serializers.py +++ b/cinema/serializers.py @@ -63,6 +63,7 @@ class MovieSessionListSerializer(serializers.ModelSerializer): cinema_hall_capacity = serializers.IntegerField( source="cinema_hall.capacity", read_only=True ) + class Meta: model = MovieSession fields = ("id",