1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 20:02:49 +02:00

Wrong import order

This commit is contained in:
Yohann D'ANELLO
2020-12-28 19:19:01 +01:00
parent 0079b6d96d
commit 63f139be45
14 changed files with 30 additions and 41 deletions

View File

@ -1,8 +1,8 @@
# Copyright (C) 2020 by Animath
# SPDX-License-Identifier: GPL-3.0-or-later
from tfjm.lists import get_sympa_client
from participation.models import Participation, Team
from tfjm.lists import get_sympa_client
def create_team_participation(instance, created, **_):
@ -33,4 +33,3 @@ def update_mailing_list(instance: Team, **_):
for coach in instance.coachs.all():
get_sympa_client().subscribe(coach.user.email, f"equipe-{instance.trigram.lower()}", False,
f"{coach.user.first_name} {coach.user.last_name}")