mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-04 01:32:11 +02:00
Display teams
This commit is contained in:
@ -39,7 +39,7 @@ class Tournament(models.Model):
|
||||
)
|
||||
|
||||
date_end = models.DateField(
|
||||
verbose_name=_("date start"),
|
||||
verbose_name=_("date end"),
|
||||
)
|
||||
|
||||
date_inscription = models.DateTimeField(
|
||||
@ -89,6 +89,7 @@ class Team(models.Model):
|
||||
tournament = models.ForeignKey(
|
||||
Tournament,
|
||||
on_delete=models.PROTECT,
|
||||
related_name="teams",
|
||||
verbose_name=_("tournament"),
|
||||
)
|
||||
|
||||
@ -102,7 +103,7 @@ class Team(models.Model):
|
||||
choices=[
|
||||
("0invalid", _("Registration not validated")),
|
||||
("1waiting", _("Waiting for validation")),
|
||||
("1valid", _("Registration validated")),
|
||||
("2valid", _("Registration validated")),
|
||||
],
|
||||
verbose_name=_("validation status"),
|
||||
)
|
||||
|
Reference in New Issue
Block a user