mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-29 13:41:04 +02:00
Bouton pour rendre les solutions accessibles pour le second tour en 1 clic
This commit is contained in:
@ -440,6 +440,10 @@ class Tournament(models.Model):
|
||||
return Participation.objects.filter(final=True)
|
||||
return self.participation_set
|
||||
|
||||
@property
|
||||
def organizers_and_presidents(self):
|
||||
return VolunteerRegistration.objects.filter(Q(admin=True) | Q(organized_tournaments=self) | Q(pools_presided__tournament=self))
|
||||
|
||||
@property
|
||||
def solutions(self):
|
||||
if self.final:
|
||||
|
Reference in New Issue
Block a user