diff --git a/cms/djangoapps/contentstore/rest_api/v1/serializers/course_details.py b/cms/djangoapps/contentstore/rest_api/v1/serializers/course_details.py index b84626f3444a..6c2660428e66 100644 --- a/cms/djangoapps/contentstore/rest_api/v1/serializers/course_details.py +++ b/cms/djangoapps/contentstore/rest_api/v1/serializers/course_details.py @@ -9,7 +9,7 @@ class InstructorInfoSerializer(serializers.Serializer): """ Serializer for instructor info """ - name = serializers.CharField(allow_blank=True) + name = serializers.CharField(allow_blank=True, required=False) title = serializers.CharField(allow_blank=True, required=False) organization = serializers.CharField(allow_blank=True, required=False) image = serializers.CharField(allow_blank=True, required=False) @@ -18,7 +18,7 @@ class InstructorInfoSerializer(serializers.Serializer): class InstructorsSerializer(serializers.Serializer): """ Serializer for instructors """ - instructors = InstructorInfoSerializer(many=True, allow_empty=True) + instructors = InstructorInfoSerializer(many=True, allow_empty=True, allow_null=True, required=False) class CourseDetailsSerializer(serializers.Serializer):