|
|
|
@ -76,12 +76,13 @@ class GroupStage(TournamentSubModel): |
|
|
|
else: |
|
|
|
else: |
|
|
|
previous = self.tournament.get_previous_live_group_stages(self.step - 1) |
|
|
|
previous = self.tournament.get_previous_live_group_stages(self.step - 1) |
|
|
|
for gs in previous: |
|
|
|
for gs in previous: |
|
|
|
team_registration = gs.teams[self.index].team_registration |
|
|
|
if self.index < len(gs.teams): |
|
|
|
if team_registration in gs_teams: |
|
|
|
team_registration = gs.teams[self.index].team_registration |
|
|
|
team = gs_teams[team_registration] |
|
|
|
if team_registration in gs_teams: |
|
|
|
else: |
|
|
|
team = gs_teams[team_registration] |
|
|
|
team = GroupStageTeam(team_registration) |
|
|
|
else: |
|
|
|
gs_teams[team_registration] = team |
|
|
|
team = GroupStageTeam(team_registration) |
|
|
|
|
|
|
|
gs_teams[team_registration] = team |
|
|
|
|
|
|
|
|
|
|
|
# compute matches |
|
|
|
# compute matches |
|
|
|
for match in self.matches.all(): |
|
|
|
for match in self.matches.all(): |
|
|
|
|