Raz 11 months ago
commit 6a873ca8e7
  1. 2
      tournaments/models/tournament.py

@ -437,6 +437,8 @@ class Tournament(models.Model):
return groups
def group_stage_match_group(self, group_stage, broadcasted, hide_empty_matches):
if group_stage is None:
return None
matches = group_stage.match_set.all()
if hide_empty_matches:
matches = [m for m in matches if m.should_appear()]

Loading…
Cancel
Save