From 6894d755ea9f28e7dc5d8554bc8208cebad88259 Mon Sep 17 00:00:00 2001 From: kovacspe Date: Fri, 12 Apr 2024 23:41:42 +0200 Subject: [PATCH] Add missing can_participate field --- competition/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/competition/serializers.py b/competition/serializers.py index 0b9bf7ca..4e0262b3 100644 --- a/competition/serializers.py +++ b/competition/serializers.py @@ -292,7 +292,7 @@ def get_series_num_solutions(self, obj): @ts_interface(context='competition') -class SeriesWithProblemsSerializer(serializers.ModelSerializer): +class SeriesWithProblemsSerializer(ModelWithParticipationSerializer): problems = ProblemSerializer( many=True, read_only=True