Commit e6308155 by Rob Hudson

Update example of nested data

parent 311cad64
...@@ -28,11 +28,11 @@ Some example output from our serializer. ...@@ -28,11 +28,11 @@ Some example output from our serializer.
{ {
'title': 'Leaving party preperations', 'title': 'Leaving party preperations',
'items': { 'items': [
{'text': 'Compile playlist', 'is_completed': True}, {'text': 'Compile playlist', 'is_completed': True},
{'text': 'Send invites', 'is_completed': False}, {'text': 'Send invites', 'is_completed': False},
{'text': 'Clean house', 'is_completed': False} {'text': 'Clean house', 'is_completed': False}
} ]
} }
Let's take a look at updating our nested one-to-many data structure. Let's take a look at updating our nested one-to-many data structure.
......
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