Fix tournament serializer

This commit is contained in:
Yohann D'ANELLO 2021-05-11 17:19:28 +02:00
parent 582a634da7
commit 700df123b7
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -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',)