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

Ask teams if they accept to publish their videos

This commit is contained in:
Yohann D'ANELLO
2020-09-22 18:24:51 +02:00
parent 0eef01ba9f
commit 3741557200
3 changed files with 86 additions and 49 deletions

View File

@ -25,6 +25,12 @@ class Team(models.Model):
help_text=_("The access code let other people to join the team."),
)
grant_animath_access_videos = models.BooleanField(
verbose_name=_("Grant Animath to publish my video"),
help_text=_("Give the authorisation to publish the video on the main website to promote the action."),
default=False,
)
def __str__(self):
return _("Team {name} ({trigram})").format(name=self.name, trigram=self.trigram)