|
|
|
@ -65,7 +65,7 @@ def index(request): |
|
|
|
if tournament.supposedly_in_progress() and tournament.display_tournament(): |
|
|
|
if tournament.supposedly_in_progress() and tournament.display_tournament(): |
|
|
|
live_tournaments.append(tournament) |
|
|
|
live_tournaments.append(tournament) |
|
|
|
|
|
|
|
|
|
|
|
ended_tournaments = Tournament.objects.filter(*q_ended).order_by('start_date') |
|
|
|
ended_tournaments = Tournament.objects.filter(*q_ended).order_by('-start_date') |
|
|
|
|
|
|
|
|
|
|
|
filtered_ended_tournaments = [] |
|
|
|
filtered_ended_tournaments = [] |
|
|
|
for tournament in ended_tournaments: |
|
|
|
for tournament in ended_tournaments: |
|
|
|
|