Commit 64cf50bf authored by Ben Waters's avatar Ben Waters

rollback schedule serializer to be appropriate for many-1 relationship

parent 287a4876
......@@ -11,6 +11,7 @@ class OpenTimeSerializer(serializers.ModelSerializer):
model = OpenTime
class ScheduleSerializer(serializers.ModelSerializer):
open_times = OpenTimeSerializer(many=True)
class Meta:
model = Schedule
......
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