Commit 33a3db88 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Update read_only fields for VideoSerializer

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