|
|
|
@ -162,6 +162,11 @@ class LiveGroupStage: |
|
|
|
"duration": self.formatted_duration() |
|
|
|
"duration": self.formatted_duration() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def started(self): |
|
|
|
|
|
|
|
if self.start is None: |
|
|
|
|
|
|
|
return False |
|
|
|
|
|
|
|
return self.start < timezone.now() |
|
|
|
|
|
|
|
|
|
|
|
class GroupStageTeam: |
|
|
|
class GroupStageTeam: |
|
|
|
def __init__(self, team_registration): |
|
|
|
def __init__(self, team_registration): |
|
|
|
self.names = team_registration.shortened_team_names() |
|
|
|
self.names = team_registration.shortened_team_names() |
|
|
|
|