diff --git a/app/auth/models.py b/app/auth/models.py index 3a994e95..ed20d5ee 100644 --- a/app/auth/models.py +++ b/app/auth/models.py @@ -422,7 +422,7 @@ class UserRole(db.Model): def get_super_admin(): - """L'utilisateur admin (où le premier, s'il y en a plusieurs). + """L'utilisateur admin (ou le premier, s'il y en a plusieurs). Utilisé par les tests unitaires et le script de migration. """ admin_role = Role.query.filter_by(name="SuperAdmin").first() diff --git a/app/views/scolar.py b/app/views/scolar.py index 9dffed32..6750ddf4 100644 --- a/app/views/scolar.py +++ b/app/views/scolar.py @@ -1589,6 +1589,7 @@ def etudident_delete(etudid, dialog_confirmed=False): "admissions", "adresse", "absences", + "absences_notifications", "billet_absence", ] cursor = cnx.cursor(cursor_factory=ndb.ScoDocCursor)