Fix tournament serializer
This commit is contained in:
parent
582a634da7
commit
700df123b7
|
@ -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',)
|
||||
|
|
Loading…
Reference in New Issue