Commit 203e6557 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Add file field for serializer

parent 2242cd07
......@@ -7,7 +7,7 @@ class VideoSerializer(serializers.ModelSerializer):
class Meta:
model = Video
fields = ('id', 'name', 'youtube_id',)
fields = ('id', 'name', 'youtube_id', 'file')
read_only_fields = ('file',)
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