Skip to content
Snippets Groups Projects
Verified Commit 722c17d3 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: update Playout serializer fields

parent 74b961fb
No related branches found
No related tags found
No related merge requests found
...@@ -1333,16 +1333,18 @@ class RadioSettingsSerializer(serializers.ModelSerializer): ...@@ -1333,16 +1333,18 @@ class RadioSettingsSerializer(serializers.ModelSerializer):
class PlayoutSerializer(serializers.Serializer): class PlayoutSerializer(serializers.Serializer):
end = serializers.DateTimeField() end = serializers.DateTimeField()
id = serializers.IntegerField() episode_title = serializers.CharField(allow_blank=True)
is_virtual = serializers.BooleanField() is_virtual = serializers.BooleanField()
playlist_id = serializers.IntegerField(allow_null=True) memo = serializers.CharField(allow_blank=True, required=False)
repetition_of_id = serializers.IntegerField(allow_null=True) playlist_id = serializers.IntegerField(allow_null=True, required=False)
schedule_default_playlist_id = serializers.IntegerField(allow_null=True) repetition_of_id = serializers.IntegerField(allow_null=True, required=False)
schedule_id = serializers.IntegerField() schedule_default_playlist_id = serializers.IntegerField(allow_null=True, required=False)
show_default_playlist_id = serializers.IntegerField(required=False) schedule_id = serializers.IntegerField(allow_null=True, required=False)
show_default_playlist_id = serializers.IntegerField(allow_null=True, required=False)
show_id = serializers.IntegerField() show_id = serializers.IntegerField()
show_name = serializers.CharField() show_name = serializers.CharField()
start = serializers.DateTimeField() start = serializers.DateTimeField()
timeslot_id = serializers.IntegerField(allow_null=True, required=False)
class DayScheduleSerializer(serializers.Serializer): class DayScheduleSerializer(serializers.Serializer):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment