1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 07:32:18 +02:00

There is no video in the TFJM²

This commit is contained in:
Yohann D'ANELLO
2021-01-12 15:42:32 +01:00
parent 6bcb050754
commit b4e7ec6550
10 changed files with 13 additions and 16 deletions

View File

@ -7,7 +7,7 @@ from tfjm.lists import get_sympa_client
def create_team_participation(instance, created, **_):
"""
When a team got created, create an associated team and create Video objects.
When a team got created, create an associated participation.
"""
participation = Participation.objects.get_or_create(team=instance)[0]
participation.save()