|
|
|
@ -157,7 +157,7 @@ def future_tournaments(club_id): |
|
|
|
def index_new(request): |
|
|
|
def index_new(request): |
|
|
|
|
|
|
|
|
|
|
|
club_id = request.GET.get('club') |
|
|
|
club_id = request.GET.get('club') |
|
|
|
tournaments = tournaments_query_new(Q(end_date__isnull=True), club_id, True, 50) |
|
|
|
tournaments = tournaments_query_new(Q(end_date__isnull=True), club_id, True, None) |
|
|
|
display_tournament = [t for t in tournaments if t.display_tournament()] |
|
|
|
display_tournament = [t for t in tournaments if t.display_tournament()] |
|
|
|
live = [t for t in display_tournament if t.supposedly_in_progress()] |
|
|
|
live = [t for t in display_tournament if t.supposedly_in_progress()] |
|
|
|
future = [t for t in display_tournament if t.starts_in_the_future()] |
|
|
|
future = [t for t in display_tournament if t.starts_in_the_future()] |
|
|
|
|