1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-26 15:42:20 +00:00
plateforme-corres2math/apps/participation/apps.py
2020-09-24 10:21:50 +02:00

11 lines
313 B
Python

from django.apps import AppConfig
from django.db.models.signals import post_save
class ParticipationConfig(AppConfig):
name = 'participation'
def ready(self):
from participation.signals import create_team_participation
post_save.connect(create_team_participation, "participation.Team")