From 96dfc7785602f8dda793a59c8109f63366c82a67 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Tue, 15 Jul 2025 16:06:33 +0200 Subject: [PATCH] Fix team positioning check method in Tournament model --- tournaments/models/tournament.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index e37ddb9..34525c9 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -1014,7 +1014,7 @@ class Tournament(BaseModel): return self.has_started(hour_delta=hour_delta) def are_teams_positioned(self): - teams = self.teams(True) + teams = self.team_registrations.all() filtered_teams = [t for t in teams if t.is_positioned()] if len(filtered_teams) > 3: return True