diff --git a/tournaments/views.py b/tournaments/views.py index 591c9c0..6d4021c 100644 --- a/tournaments/views.py +++ b/tournaments/views.py @@ -75,7 +75,7 @@ def tournament(request, tournament_id): group_stage_id = request.GET.get('group_stage') match_groups = tournament.match_groups(False, group_stage_id, round_id) - rounds = tournament.round_set.filter(loser=None).order_by('-index') + rounds = tournament.round_set.filter(parent=None).order_by('-index') group_stages = tournament.groupstage_set.order_by('index') return render(request, 'tournaments/matches.html', {