mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 17:02:28 +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',)
|
unique_together = ('team', 'source', 'round', 'final',)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return _("Synthesis of team {trigram} that is {source} for the tournament {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(), tournament=self.tournament)
|
.format(trigram=self.team.trigram, source=self.get_source_display().lower(), tournament=self.tournament)
|
||||||
|
|
||||||
|
|
||||||
class Config(models.Model):
|
class Config(models.Model):
|
||||||
|
Loading…
Reference in New Issue
Block a user