mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-11-15 08:47:42 +01:00
Fix linters + Fix translations
This commit is contained in:
@@ -70,11 +70,11 @@ class Team(models.Model):
|
||||
@property
|
||||
def coaches(self):
|
||||
return self.participants.filter(coachregistration__isnull=False)
|
||||
|
||||
|
||||
@property
|
||||
def scientific_coaches(self):
|
||||
return self.participants.filter(coachregistration__isnull=False, coachregistration__is_scientific_coach=True)
|
||||
|
||||
|
||||
@property
|
||||
def accompanying_coaches(self):
|
||||
return self.participants.filter(coachregistration__isnull=False, coachregistration__is_accompanying_coach=True)
|
||||
@@ -219,7 +219,6 @@ class Team(models.Model):
|
||||
:return: The mailing list to contact the team members.
|
||||
"""
|
||||
return f"equipe-{slugify(self.trigram)}@{settings.SYMPA_HOST}"
|
||||
|
||||
|
||||
def create_mailing_list(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user