1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-05 07:14:08 +02:00

Update the mailing list if the team name or trigram got updated

This commit is contained in:
Yohann D'ANELLO
2020-10-11 17:10:59 +02:00
parent a5e7325a5b
commit b3db01c02e
4 changed files with 23 additions and 6 deletions

View File

@ -53,6 +53,7 @@ class Team(models.Model):
if not self.access_code:
self.access_code = get_random_string(6)
self.create_mailing_list()
return super().save(*args, **kwargs)
def __str__(self):