mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-23 19:56:35 +02:00
Ask teams if they accept to publish their videos
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.1 on 2020-09-22 16:21
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('participation', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='team',
|
||||
name='grant_animath_access_videos',
|
||||
field=models.BooleanField(default=False, help_text='Give the authorisation to publish the video on the main website to promote the action.', verbose_name='Grant Animath to publish my video'),
|
||||
),
|
||||
]
|
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user