|
|
|
@ -677,6 +677,7 @@ class Tournament(models.Model): |
|
|
|
|
|
|
|
|
|
|
|
def round_to_show(self): |
|
|
|
def round_to_show(self): |
|
|
|
last_started_match = self.first_unfinished_match() |
|
|
|
last_started_match = self.first_unfinished_match() |
|
|
|
|
|
|
|
print(f'last_started_match = {last_started_match.name}') |
|
|
|
if last_started_match: |
|
|
|
if last_started_match: |
|
|
|
current_round = last_started_match.round.root_round() |
|
|
|
current_round = last_started_match.round.root_round() |
|
|
|
print(f'round_to_show > current_round: {current_round.name()}') |
|
|
|
print(f'round_to_show > current_round: {current_round.name()}') |
|
|
|
|