From 2f62095ca0b3cc92fc77c70a74bae64a3140631d Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Thu, 13 Jun 2024 18:56:32 +0200 Subject: [PATCH] fix cancel display --- 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 55c07ad..3df50c1 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -126,7 +126,7 @@ class Tournament(models.Model): return None def tournament_status_display(self): - if self.is_canceled is True: + if self.is_canceled() is True: return "Annulé" teams = self.teams()