mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 01:18:22 +02:00
Fix mails to teams that are selected to the final
This commit is contained in:
@ -177,7 +177,8 @@ class TeamDetailView(LoginRequiredMixin, DetailView):
|
||||
new_sol.save()
|
||||
team.selected_for_final = True
|
||||
team.save()
|
||||
team.send_mail("select_for_final", "Sélection pour la finale, félicitations ! - TFJM²")
|
||||
team.send_mail("select_for_final", "Sélection pour la finale, félicitations ! - TFJM²",
|
||||
final=Tournament.get_final())
|
||||
return redirect('tournament:team_detail', pk=team.pk)
|
||||
|
||||
return self.get(request, *args, **kwargs)
|
||||
|
Reference in New Issue
Block a user