mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-07-05 07:14:08 +02:00
Don't access to team participation if the team is not validated
This commit is contained in:
@ -80,6 +80,13 @@ class Participation(models.Model):
|
||||
verbose_name=_("problem number"),
|
||||
)
|
||||
|
||||
valid = models.BooleanField(
|
||||
null=True,
|
||||
default=None,
|
||||
verbose_name=_("valid"),
|
||||
help_text=_("The video got the validation of the administrators."),
|
||||
)
|
||||
|
||||
solution = models.OneToOneField(
|
||||
"participation.Video",
|
||||
on_delete=models.SET_NULL,
|
||||
|
Reference in New Issue
Block a user