1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 17:22:51 +02:00

Upload solution is working

This commit is contained in:
Yohann D'ANELLO
2021-01-12 17:24:46 +01:00
parent 09e5a72470
commit 2ca0444053
7 changed files with 109 additions and 6 deletions

View File

@ -259,6 +259,12 @@ class Participation(models.Model):
help_text=_("The participation got the validation of the organizers."),
)
final = models.BooleanField(
default=False,
verbose_name=_("selected for final"),
help_text=_("The team is selected for the final tournament."),
)
def get_absolute_url(self):
return reverse_lazy("participation:participation_detail", args=(self.pk,))