mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 03:02:14 +01:00 
			
		
		
		
	Fix final selection
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -856,7 +856,7 @@ class SelectTeamFinalView(VolunteerMixin, DetailView):
 | 
				
			|||||||
            final_sol: Solution
 | 
					            final_sol: Solution
 | 
				
			||||||
            with open(regional_sol.file.path, 'rb') as f:
 | 
					            with open(regional_sol.file.path, 'rb') as f:
 | 
				
			||||||
                final_sol.file.save(regional_sol.file.name, 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()
 | 
					            registration.send_email_final_selection()
 | 
				
			||||||
        return redirect(reverse_lazy("participation:tournament_detail", args=(tournament.pk,)))
 | 
					        return redirect(reverse_lazy("participation:tournament_detail", args=(tournament.pk,)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user