mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-08-21 12:07:21 +02:00
Confirm email address is mandatory
This commit is contained in:
@@ -101,6 +101,7 @@ class TeamDetailView(LoginRequiredMixin, DetailView):
|
||||
|
||||
team = self.object
|
||||
context["can_validate"] = team.students.count() >= 3 and \
|
||||
all(r.email_confirmed for r in team.students.all()) and \
|
||||
all(r.photo_authorization for r in team.students.all()) and \
|
||||
team.participation.problem
|
||||
|
||||
|
Reference in New Issue
Block a user