From 4b7ace2e4073837b8c518591ef8334665d7ba06b Mon Sep 17 00:00:00 2001 From: Steve Brownlee Date: Tue, 23 Jul 2024 11:01:19 -0500 Subject: [PATCH] Remove args for dictfield --- LearningAPI/views/student_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LearningAPI/views/student_view.py b/LearningAPI/views/student_view.py index 81b7b33..8061289 100644 --- a/LearningAPI/views/student_view.py +++ b/LearningAPI/views/student_view.py @@ -563,7 +563,7 @@ class CohortStudentSerializer(serializers.Serializer): id = serializers.IntegerField() github_handle = serializers.CharField(max_length=100) name = serializers.CharField(max_length=100) - current_cohort = serializers.DictField(allow_blank=True, allow_null=True) + 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_url = serializers.CharField(max_length=256, allow_blank=True, allow_null=True)