|
|
|
@ -78,7 +78,7 @@ def index(request): |
|
|
|
if club_id: |
|
|
|
if club_id: |
|
|
|
tournaments = tournaments_query(Q(end_date__isnull=True), club_id, True, 50) |
|
|
|
tournaments = tournaments_query(Q(end_date__isnull=True), club_id, True, 50) |
|
|
|
else: |
|
|
|
else: |
|
|
|
tournaments = tournaments_query(Q(end_date__isnull=True, start_date__gte=thirty_days_ago, start_date__lte=thirty_days_future), club_id, True, 50) |
|
|
|
tournaments = tournaments_query(Q(end_date__isnull=True, start_date__gte=thirty_days_ago, start_date__lte=thirty_days_future), club_id, True, 100) |
|
|
|
|
|
|
|
|
|
|
|
display_tournament = [t for t in tournaments if t.display_tournament()] |
|
|
|
display_tournament = [t for t in tournaments if t.display_tournament()] |
|
|
|
live = [] |
|
|
|
live = [] |
|
|
|
|