From 230145a96b97c55d0e9b3930e3e42d74793925c5 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Sat, 18 May 2024 11:53:57 +0200 Subject: [PATCH] fix crash on display_name group_stage --- tournaments/models/match.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/models/match.py b/tournaments/models/match.py index 22f17af..e1bfe8e 100644 --- a/tournaments/models/match.py +++ b/tournaments/models/match.py @@ -50,7 +50,7 @@ class Match(models.Model): elif self.round: return self.round.name() elif self.group_stage: - return self.group_stage.name() + return self.group_stage.display_name() else: return '--'