|
|
|
|
@ -372,10 +372,9 @@ def tournament_prog_json(request, tournament_id): |
|
|
|
|
if match is None or isinstance(match, dict) and match.get('empty'): |
|
|
|
|
live_matches.append({"empty": True}) |
|
|
|
|
else: |
|
|
|
|
live_matches.append(match.live_match()) |
|
|
|
|
live_matches.append(match.live_match().to_dict()) |
|
|
|
|
|
|
|
|
|
live_matches_dicts = [match.to_dict() for match in live_matches] |
|
|
|
|
data = json.dumps(live_matches_dicts, default=vars) |
|
|
|
|
data = json.dumps(live_matches, default=vars) |
|
|
|
|
return HttpResponse(data, content_type='application/json') |
|
|
|
|
|
|
|
|
|
def tournament_group_stages(request, tournament_id): |
|
|
|
|
|