1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-29 18:31:10 +02:00

Store round dates

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-06-07 16:03:42 +02:00
parent 38ceef7a54
commit cf92c78d03
5 changed files with 188 additions and 122 deletions

View File

@ -310,11 +310,21 @@ class Tournament(models.Model):
default=timezone.now,
)
date_first_phase = models.DateField(
verbose_name=_("first phase date"),
default=date.today,
)
syntheses_first_phase_limit = models.DateTimeField(
verbose_name=_("limit date to upload the syntheses for the first phase"),
default=timezone.now,
)
date_second_phase = models.DateField(
verbose_name=_("first second date"),
default=date.today,
)
solutions_available_second_phase = models.BooleanField(
verbose_name=_("check this case when solutions for the second round become available"),
default=False,
@ -325,6 +335,11 @@ class Tournament(models.Model):
default=timezone.now,
)
date_third_phase = models.DateField(
verbose_name=_("third phase date"),
default=date.today,
)
solutions_available_third_phase = models.BooleanField(
verbose_name=_("check this case when solutions for the third round become available"),
default=False,