Commit e506169c authored by Bruno Martin's avatar Bruno Martin
Browse files

user User instead CourseStudents for students_details

parent dd80e024
......@@ -34,7 +34,8 @@ class CourseStudentClassSerializer(serializers.ModelSerializer):
class ClassSerializer(WorkspaceBaseSerializerMixin, serializers.ModelSerializer):
students_details = CourseStudentClassSerializer(source='get_students', many=True, read_only=True)
enrolled_students = CourseStudentClassSerializer(source='get_students', many=True, read_only=True)
students_details = SimpleUserSerializer(source='students', many=True, read_only=True)
processes = CertificationProcessSerializer(read_only=True, many=True)
evaluations = EvaluationSerializer(read_only=True, many=True)
course = BasicCourseSerializer(read_only=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment