From 01cca8f8e2c0900c4f0946e2c9e7c5ac3c99309e Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Sun, 2 Jun 2024 09:42:02 +0200 Subject: [PATCH] add tournament_status_display method --- tournaments/models/tournament.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index eb76030..27d927e 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -125,8 +125,8 @@ class Tournament(models.Model): return None def tournament_status_display(self): - if self.is_canceled: - return "Annulé" + #if self.is_canceled: + # return "Annulé" teams = self.teams() if teams is not None and len(teams) > 0: