1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 17:42:23 +00:00

Fix final selection

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-07 18:30:06 +02:00
parent 4a094002f0
commit 6c76f1e633
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -856,7 +856,7 @@ class SelectTeamFinalView(VolunteerMixin, DetailView):
final_sol: Solution
with open(regional_sol.file.path, 'rb') as f:
final_sol.file.save(regional_sol.file.name, f)
for registration in self.participation.team.participants:
for registration in self.participation.team.participants.all():
registration.send_email_final_selection()
return redirect(reverse_lazy("participation:tournament_detail", args=(tournament.pk,)))