mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 18:37:07 +01:00
problem
This commit is contained in:
@@ -92,7 +92,7 @@ def player_list_json(request):
|
||||
return JsonResponse(data)
|
||||
|
||||
def tournoi_list_json(request):
|
||||
tournois = Tournoi.objects.all()
|
||||
tournois = Tournoi.objects.select_related('winner').all()
|
||||
|
||||
data = {
|
||||
'tournois': list(tournois.values(
|
||||
|
||||
Reference in New Issue
Block a user