Commit 4c644b7d authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Add read only true for video serializer

parent ea127100
......@@ -16,4 +16,4 @@ class VideoSerializer(serializers.ModelSerializer):
model = Video
fields = ('id', 'name', 'youtube_id', 'file')
file = VideoFileSerializer(required=False, allow_null=True)
file = VideoFileSerializer(required=False, allow_null=True, read_only=True)
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