From 49907d7ec8847017115191e937ba9f68350c92bd Mon Sep 17 00:00:00 2001 From: N3WT DE COMPET Date: Mon, 26 May 2025 18:27:28 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Mod=C3=A8le=20cr=C3=A9=C3=A9=202=20fois?= =?UTF-8?q?=20par=20erreur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Back-End/Subscriptions/models.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Back-End/Subscriptions/models.py b/Back-End/Subscriptions/models.py index 1c73588..528d447 100644 --- a/Back-End/Subscriptions/models.py +++ b/Back-End/Subscriptions/models.py @@ -202,15 +202,6 @@ class Student(models.Model): return self.birth_date.strftime('%d-%m-%Y') return None -class BilanCompetence(models.Model): - student = models.ForeignKey('Subscriptions.Student', on_delete=models.CASCADE, related_name='bilans') - file = models.FileField(upload_to=registration_bilan_form_upload_to, null=True, blank=True) - period = models.CharField(max_length=20, help_text="Période ex: T1-2024_2025, S1-2024_2025, A-2024_2025") - created_at = models.DateTimeField(auto_now_add=True) - - def __str__(self): - return f"{self.student} - {self.period}" - class RegistrationFileGroup(models.Model): name = models.CharField(max_length=255, default="") description = models.TextField(blank=True, null=True)