We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f50c7ad commit 5a007beCopy full SHA for 5a007be
insalan/tournament/serializers.py
@@ -145,7 +145,7 @@ def validate(self, data):
145
if round:
146
tournament = {f"{self.match_type}__tournament": data["tournament"]}
147
if self.match_class.objects.filter(round_number__lt=round, **tournament).exclude(status=MatchStatus.COMPLETED).exists():
148
- raise serializers.ValidationError(_("Des matchs des round précédent sont encore en cours ou ne sont pas terminés."))
+ raise serializers.ValidationError(_("Des matchs des tours précédents sont encore en cours ou ne sont pas terminés."))
149
150
scheduled_matchs = self.match_class.objects.filter(round_number=round, **tournament, status=MatchStatus.SCHEDULED)
151
0 commit comments