feat: Preparation des modèles Settings pour l'enregistrement SMTP [#17]

This commit is contained in:
Luc SORIGNET
2025-05-05 09:25:07 +02:00
parent 99a882a64a
commit eda6f587fb
33 changed files with 468 additions and 74 deletions

View File

@ -14,7 +14,7 @@ class RecursionType(models.IntegerChoices):
RECURSION_CUSTOM = 4, _('Personnalisé')
class Planning(models.Model):
establishment = models.ForeignKey(Establishment, on_delete=models.PROTECT)
establishment = models.ForeignKey(Establishment, on_delete=models.CASCADE)
school_class = models.ForeignKey(
SchoolClass,
on_delete=models.CASCADE,