From 90b1169f326ad5ea4a5f22cd3aa15306bd0d5431 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 8 May 2020 18:07:01 +0200 Subject: [PATCH] Syntheses for different rounds are distinct --- apps/member/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/member/models.py b/apps/member/models.py index 621e8e7..14b32a8 100644 --- a/apps/member/models.py +++ b/apps/member/models.py @@ -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):