mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-03 18:02:50 +02:00
Display the BBB link of a pool
This commit is contained in:
@ -353,6 +353,10 @@ class Pool(models.Model):
|
||||
validators=[RegexValidator("[a-z]{3}-[a-z]{3}-[a-z]{3}")],
|
||||
)
|
||||
|
||||
@property
|
||||
def bbb_url(self):
|
||||
return f"https://visio.animath.live/b/{self.bbb_code}"
|
||||
|
||||
@property
|
||||
def solutions(self):
|
||||
return Solution.objects.filter(participation__in=self.participations, final_solution=self.tournament.final)
|
||||
|
Reference in New Issue
Block a user