mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
feat: Ajout de la fratrie / Gestion des index de fratrie / Gestion des
required
This commit is contained in:
@ -40,7 +40,6 @@ class Sibling(models.Model):
|
||||
"""
|
||||
Représente un frère ou une sœur d’un élève.
|
||||
"""
|
||||
id = models.AutoField(primary_key=True)
|
||||
last_name = models.CharField(max_length=200, default="")
|
||||
first_name = models.CharField(max_length=200, default="")
|
||||
birth_date = models.DateField(null=True, blank=True)
|
||||
|
||||
@ -231,7 +231,6 @@ class RegisterFormWithIdView(APIView):
|
||||
"""
|
||||
|
||||
studentForm_data = request.data.get('data', '{}')
|
||||
print(f'studentForm_data : {studentForm_data}')
|
||||
try:
|
||||
data = json.loads(studentForm_data)
|
||||
except json.JSONDecodeError:
|
||||
|
||||
Reference in New Issue
Block a user