diff --git a/tournaments/views.py b/tournaments/views.py index 8ca5b03..7bc19e9 100644 --- a/tournaments/views.py +++ b/tournaments/views.py @@ -133,7 +133,7 @@ def tournament(request, tournament_id): print(len(rounds)) print(len(group_stages)) - if len(match_groups) > 0: + if tournament.display_matches(): return render(request, 'tournaments/matches.html', { 'tournament': tournament, 'rounds': rounds,