Email address is no more required

This commit is contained in:
Yohann D'ANELLO 2021-03-11 16:57:23 +01:00
parent a7665d41b7
commit 3f46e23588
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 0 additions and 1 deletions

View File

@ -179,7 +179,6 @@ class TeamDetailView(LoginRequiredMixin, FormMixin, ProcessFormView, DetailView)
# their health sheet, they confirmed their email address and under-18 people sent their parental authorization.
context["can_validate"] = team.students.count() >= 4 and team.coaches.exists() and \
team.participation.tournament and \
all(r.email_confirmed for r in team.students.all()) and \
all(r.photo_authorization for r in team.participants.all()) and \
(team.participation.tournament.remote
or all(r.health_sheet for r in team.students.all() if r.under_18)) and \