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

Delete related videos when a participation got deleted

This commit is contained in:
Yohann D'ANELLO
2020-10-15 17:20:58 +02:00
parent 9e097c99d0
commit df74f499ec
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.db.models.signals import post_save, pre_save
from django.db.models.signals import post_save, pre_delete, pre_save
class ParticipationConfig(AppConfig):