1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 06:22:22 +00:00

Syntheses for different rounds are distinct

This commit is contained in:
Yohann D'ANELLO 2020-05-08 18:07:01 +02:00
parent cd652423a8
commit 90b1169f32

View File

@ -297,8 +297,8 @@ class Synthesis(Document):
unique_together = ('team', 'source', 'round', 'final',)
def __str__(self):
return _("Synthesis of team {trigram} that is {source} for the tournament {tournament}")\
.format(trigram=self.team.trigram, source=self.get_source_display(), tournament=self.tournament)
return _("Synthesis of team {trigram} that is {source} for the round {round} of tournament {tournament}")\
.format(trigram=self.team.trigram, source=self.get_source_display().lower(), tournament=self.tournament)
class Config(models.Model):