From 6b97eaf8500b1b9e63c3de03ec614405e98cd330 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 18 Mar 2025 15:23:47 +0100 Subject: [PATCH] fix name --- tournaments/models/round.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/models/round.py b/tournaments/models/round.py index 39441a4..33ee27e 100644 --- a/tournaments/models/round.py +++ b/tournaments/models/round.py @@ -159,7 +159,7 @@ class Round(SideStoreModel): else: first_half_matches = list(matches) # Convert QuerySet to a list if self.index == 0 and loser_final: - loser_match = loser_final.match_set.first() + loser_match = loser_final.matches.first() if loser_match: first_half_matches.append(loser_match)