Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
64cf50bf
Commit
64cf50bf
authored
Sep 07, 2014
by
Ben Waters
Browse files
rollback schedule serializer to be appropriate for many-1 relationship
parent
287a4876
Changes
1
Hide whitespace changes
Inline
Side-by-side
whats_open/website/serializers.py
View file @
64cf50bf
...
...
@@ -11,6 +11,7 @@ class OpenTimeSerializer(serializers.ModelSerializer):
model
=
OpenTime
class
ScheduleSerializer
(
serializers
.
ModelSerializer
):
open_times
=
OpenTimeSerializer
(
many
=
True
)
class
Meta
:
model
=
Schedule
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment