|
|
|
@ -437,6 +437,8 @@ class Tournament(models.Model): |
|
|
|
return groups |
|
|
|
return groups |
|
|
|
|
|
|
|
|
|
|
|
def group_stage_match_group(self, group_stage, broadcasted, hide_empty_matches): |
|
|
|
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() |
|
|
|
matches = group_stage.match_set.all() |
|
|
|
if hide_empty_matches: |
|
|
|
if hide_empty_matches: |
|
|
|
matches = [m for m in matches if m.should_appear()] |
|
|
|
matches = [m for m in matches if m.should_appear()] |
|
|
|
|