new style list of tournaments

sync_v2
Raz 7 months ago
parent 285430d690
commit 5d5aba938b
  1. 2
      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:

Loading…
Cancel
Save