From 840d760ba4dd8599d7e9f4ebccaa6d3e64cc7e20 Mon Sep 17 00:00:00 2001 From: Raz Date: Mon, 14 Apr 2025 15:51:42 +0200 Subject: [PATCH] display_tournament when enable_online_registration is True --- 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 bda9fa1..9df9879 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -845,7 +845,7 @@ class Tournament(BaseModel): return False def display_tournament(self): - if self.publish_tournament: + if self.publish_tournament or self.enable_online_registration: return True is_build_and_not_empty = self.is_build_and_not_empty()