fix loading tournaments

shop
Razmig Sarkissian 8 months ago
parent 826af36fae
commit acbcc13f66
  1. 2
      tournaments/views.py

@ -157,7 +157,7 @@ def future_tournaments(club_id):
def index_new(request):
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()]
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()]

Loading…
Cancel
Save