Fix final selection
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
4a094002f0
commit
6c76f1e633
|
@ -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,)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue