more match logs

clubs
Laurent 2 years ago
parent 259cababdd
commit 268d3734e1
  1. 2
      tournaments/models/tournament.py

@ -58,7 +58,7 @@ class Tournament(models.Model):
for team_registration in self.teamregistration_set.all(): for team_registration in self.teamregistration_set.all():
next_match = team_registration.next_match() next_match = team_registration.next_match()
if next_match: if next_match:
print(f"MATCH ID = {next_match.id} - {next_match.stage_name()} - {next_match.start_date}") print(f"MATCH ID = {next_match.id} - {next_match.stage_name()} - {next_match.round.index}")
names = team_registration.team_names() names = team_registration.team_names()
stage = next_match.stage_name() stage = next_match.stage_name()
weight = team_registration.weight() weight = team_registration.weight()

Loading…
Cancel
Save