Skip to content

Commit

Permalink
Remove bad args
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebrownlee committed Jul 23, 2024
1 parent b77ae2c commit 204c747
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LearningAPI/views/student_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,9 @@ class CohortStudentSerializer(serializers.Serializer):
book_index = serializers.IntegerField()
book_name = serializers.CharField(max_length=100)
score = serializers.IntegerField()
notes = serializers.ListField(allow_empty=True, required=False, allow_blank=True, allow_null=True)
proposals = serializers.ListField(allow_empty=True, required=False, allow_blank=True, allow_null=True)
tags = serializers.ListField(allow_empty=True, required=False, allow_blank=True, 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)

def get_avatar(self, obj):
github = obj.user.socialaccount_set.get(user=obj['id'])
Expand Down

0 comments on commit 204c747

Please sign in to comment.