Skip to content

Commit

Permalink
Remove args for dictfield
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebrownlee committed Jul 23, 2024
1 parent 19f8cfb commit 4b7ace2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LearningAPI/views/student_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4b7ace2

Please sign in to comment.