1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 12:52:18 +02:00

Indicate the maximum amount of teams in a tournament

This commit is contained in:
Yohann D'ANELLO
2020-12-31 12:26:49 +01:00
parent 52f0d442cd
commit bf6f87ee89
2 changed files with 23 additions and 0 deletions

View File

@ -138,6 +138,11 @@ class Tournament(models.Model):
verbose_name=_("place"),
)
max_teams = models.PositiveSmallIntegerField(
verbose_name=_("max team count"),
default=9,
)
inscription_limit = models.DateTimeField(
verbose_name=_("limit date for registrations"),
default=timezone.now,