diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index b117f62..f787a80 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -1129,6 +1129,8 @@ class Tournament(BaseModel): return OnlineRegistrationStatus.CANCELED if self.end_date is not None: return OnlineRegistrationStatus.ENDED_WITH_RESULTS + if self.enable_online_registration is False: + return OnlineRegistrationStatus.NOT_ENABLED if self.supposedly_in_progress(): return OnlineRegistrationStatus.ENDED if self.closed_registration_date is not None: