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:
@ -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,
|
||||
|
Reference in New Issue
Block a user