From eb1576e666e7946c5819abbf56d2e159ff622025 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 17 Jul 2024 11:45:36 +0200 Subject: [PATCH] Fix issue with page displayed --- tournaments/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,