Merge pull request #2810 from robhudson/patch-1

Update example of nested data
This commit is contained in:
José Padilla 2015-04-09 13:25:01 -04:00
commit 970bfe16ec

View File

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