mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
feat: Ajout d'une fonction de dissociation entre un responsable et un
élève
This commit is contained in:
@ -120,6 +120,7 @@ class ProfileRoleSerializer(serializers.ModelSerializer):
|
||||
registration_form = RegistrationForm.objects.filter(student=student).first()
|
||||
registration_status = registration_form.status if registration_form else None
|
||||
students_list.append({
|
||||
"id": f"{student.id}",
|
||||
"student_name": f"{student.last_name} {student.first_name}",
|
||||
"registration_status": registration_status
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user