Commit 85e9ed7b authored by Eduardo Nunes's avatar Eduardo Nunes
Browse files

Merge branch 'develop' into 'master'

Adding allow_null into intro_video

See merge request !83
parents b41ccee4 7016eba2
......@@ -32,7 +32,7 @@ class SimpleUserSerializer(serializers.ModelSerializer):
class CourseSerializer(serializers.ModelSerializer):
intro_video = VideoSerializer(required=False)
intro_video = VideoSerializer(required=False, allow_null=True)
home_thumbnail_url = serializers.SerializerMethodField()
professors = SimpleUserSerializer(read_only=True, many=True)
is_user_assistant = serializers.SerializerMethodField()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment