mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 03:42:11 +01:00 
			
		
		
		
	Syntheses for different rounds are distinct
This commit is contained in:
		@@ -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):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user