diff --git a/src/apps/homework/api/serializers.py b/src/apps/homework/api/serializers.py index 362a874dc04..8433d4193ce 100644 --- a/src/apps/homework/api/serializers.py +++ b/src/apps/homework/api/serializers.py @@ -130,6 +130,7 @@ class Meta: class AnswerImageSerializer(serializers.ModelSerializer): author = serializers.HiddenField(default=serializers.CurrentUserDefault()) + image = serializers.FileField() class Meta: model = AnswerImage