From 700df123b74fa852f145c1835a5c55c0b5e6043e Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 11 May 2021 17:19:28 +0200 Subject: [PATCH] Fix tournament serializer --- apps/participation/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/participation/api/serializers.py b/apps/participation/api/serializers.py index 0858030..683826f 100644 --- a/apps/participation/api/serializers.py +++ b/apps/participation/api/serializers.py @@ -57,7 +57,7 @@ class TournamentSerializer(serializers.ModelSerializer): class Meta: model = Tournament - fields = ('name', 'date_start', 'date_end', 'place', 'max_teams', 'price', 'remote', + fields = ('id', 'pk', 'name', 'date_start', 'date_end', 'place', 'max_teams', 'price', 'remote', 'inscription_limit', 'solution_limit', 'solutions_draw', 'syntheses_first_phase_limit', 'solutions_available_second_phase', 'syntheses_second_phase_limit', 'description', 'organizers', 'final', 'participations',)