mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-02-22 17:01:18 +00:00
Compare commits
2 Commits
adb64dec51
...
36d8d993e3
Author | SHA1 | Date | |
---|---|---|---|
36d8d993e3 | |||
0d758d2b08 |
@ -56,10 +56,11 @@ class Command(BaseCommand):
|
|||||||
|
|
||||||
for team in Team.objects.filter(Q(participation__valid=False) | Q(participation__valid__isnull=True)).all():
|
for team in Team.objects.filter(Q(participation__valid=False) | Q(participation__valid__isnull=True)).all():
|
||||||
team.create_mailing_list()
|
team.create_mailing_list()
|
||||||
sympa.subscribe(team.email, "equipes-non-valides", f"Equipe {team.name}", True)
|
sympa.subscribe(team.email, "equipes-non-valides", True, f"Equipe {team.name}")
|
||||||
|
|
||||||
for participant in ParticipantRegistration.objects.filter(team__isnull=False).all():
|
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 volunteer in VolunteerRegistration.objects.all():
|
||||||
for organized_tournament in volunteer.organized_tournaments.all():
|
for organized_tournament in volunteer.organized_tournaments.all():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user