mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-04 04:52:15 +02:00
Hugs
This commit is contained in:
@ -208,6 +208,10 @@ class Team(models.Model):
|
||||
return ['<a href="{url}">'.format(url=reverse_lazy("member:information", args=(user.pk,))) + str(user) + '</a>'
|
||||
for user in self.participants]
|
||||
|
||||
@property
|
||||
def future_tournament(self):
|
||||
return Tournament.get_final() if self.selected_for_final else self.tournament
|
||||
|
||||
@property
|
||||
def can_validate(self):
|
||||
# TODO In a normal time, team needs a motivation letter and authorizations.
|
||||
|
Reference in New Issue
Block a user