diff --git a/LearningAPI/views/student_view.py b/LearningAPI/views/student_view.py index 8061289..16501bd 100644 --- a/LearningAPI/views/student_view.py +++ b/LearningAPI/views/student_view.py @@ -565,16 +565,16 @@ class CohortStudentSerializer(serializers.Serializer): name = serializers.CharField(max_length=100) current_cohort = serializers.DictField() avatar = serializers.CharField(allow_blank=True, allow_null=True) - assessment_status_id = serializers.IntegerField(allow_blank=True, allow_null=True) + assessment_status_id = serializers.IntegerField(allow_null=True) assessment_url = serializers.CharField(max_length=256, allow_blank=True, allow_null=True) - project_id = serializers.IntegerField(allow_blank=True, allow_null=True) - project_duration = serializers.IntegerField(allow_blank=True, allow_null=True) - project_index = serializers.IntegerField(allow_blank=True, allow_null=True) + project_id = serializers.IntegerField(allow_null=True) + project_duration = serializers.IntegerField(allow_null=True) + project_index = serializers.IntegerField(allow_null=True) project_name = serializers.CharField(max_length=100) - book_id = serializers.IntegerField(allow_blank=True, allow_null=True) - book_index = serializers.IntegerField(allow_blank=True, allow_null=True) + book_id = serializers.IntegerField(allow_null=True) + book_index = serializers.IntegerField(allow_null=True) book_name = serializers.CharField(max_length=100) - score = serializers.IntegerField(allow_blank=True, allow_null=True) + score = serializers.IntegerField(allow_null=True) notes = serializers.ListField(allow_empty=True, required=False) proposals = serializers.ListField(allow_empty=True, required=False) tags = serializers.ListField(allow_empty=True, required=False)