From ca19750df3f10890c62b25b06c5d12fb04c4b5a1 Mon Sep 17 00:00:00 2001 From: Raz Date: Wed, 16 Apr 2025 08:43:31 +0200 Subject: [PATCH] fix tz stuff and ttc stuff --- 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 5fad8bb..d0e2d21 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -1121,7 +1121,7 @@ class Tournament(BaseModel): return False # Get the current registration status status = self.get_online_registration_status() - + print(status, self.has_started()) # Define which status values should allow automatic waiting list status_map = { OnlineRegistrationStatus.OPEN: True, @@ -1129,7 +1129,7 @@ class Tournament(BaseModel): OnlineRegistrationStatus.NOT_STARTED: False, OnlineRegistrationStatus.ENDED: False, OnlineRegistrationStatus.WAITING_LIST_POSSIBLE: False, - OnlineRegistrationStatus.WAITING_LIST_FULL: True, # Still manage in case spots open up + OnlineRegistrationStatus.WAITING_LIST_FULL: False, # Still manage in case spots open up OnlineRegistrationStatus.IN_PROGRESS: False, # Allow for last-minute changes OnlineRegistrationStatus.ENDED_WITH_RESULTS: False, OnlineRegistrationStatus.CANCELED: False