mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-24 17:42:23 +00:00
Syntheses for different rounds are distinct
This commit is contained in:
parent
cd652423a8
commit
90b1169f32
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user