|
|
|
@ -42,7 +42,7 @@ def tournament(request, tournament_id): |
|
|
|
group_stage_id = request.GET.get('group_stage') |
|
|
|
group_stage_id = request.GET.get('group_stage') |
|
|
|
live_matches = list(tournament.live_matches(False, group_stage_id, round_id)) |
|
|
|
live_matches = list(tournament.live_matches(False, group_stage_id, round_id)) |
|
|
|
|
|
|
|
|
|
|
|
rounds = tournament.round_set.filter(loser=None).order_by('index') |
|
|
|
rounds = tournament.round_set.filter(loser=None).order_by('-index') |
|
|
|
group_stages = tournament.groupstage_set.order_by('index') |
|
|
|
group_stages = tournament.groupstage_set.order_by('index') |
|
|
|
return render(request, 'tournaments/matches.html', { |
|
|
|
return render(request, 'tournaments/matches.html', { |
|
|
|
'tournament': tournament, |
|
|
|
'tournament': tournament, |
|
|
|
|