Commit 7ac94eb1 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Reset file field on VideoSerializer

parent 33a3db88
......@@ -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