mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 07:42:11 +01:00 
			
		
		
		
	Fix subscribing to equipe-trigram@
This commit is contained in:
		@@ -59,7 +59,8 @@ class Command(BaseCommand):
 | 
			
		||||
            sympa.subscribe(team.email, "equipes-non-valides", True, f"Equipe {team.name}")
 | 
			
		||||
 | 
			
		||||
        for participant in ParticipantRegistration.objects.filter(team__isnull=False).all():
 | 
			
		||||
            sympa.subscribe(participant.user.email, f"equipe-{participant.team.trigram.lower}", True, f"{participant}")
 | 
			
		||||
            sympa.subscribe(participant.user.email, f"equipe-{participant.team.trigram.lower()}",
 | 
			
		||||
                            True, f"{participant}")
 | 
			
		||||
 | 
			
		||||
        for volunteer in VolunteerRegistration.objects.all():
 | 
			
		||||
            for organized_tournament in volunteer.organized_tournaments.all():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user