From c1154aff9a5ebccca9cf77e9ca42fb227da9ee34 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 26 Mar 2025 10:45:36 +0100 Subject: [PATCH] fix crash --- 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 77dc6a5..4ea7035 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -1399,7 +1399,7 @@ class Tournament(BaseModel): return serializable_match_groups def has_bracket(self): - main_rounds = self.round_set.filter( + main_rounds = self.rounds.filter( parent=None, group_stage_loser_bracket=False )