Merge pull request #3897 from zvovov/master

typo in docs - tutorial part 1
This commit is contained in:
Xavier Ordoquy 2016-02-03 11:04:20 +01:00
commit ea796fa071

View File

@ -159,7 +159,7 @@ Deserialization is similar. First we parse a stream into Python native datatype
stream = BytesIO(content) stream = BytesIO(content)
data = JSONParser().parse(stream) data = JSONParser().parse(stream)
...then we restore those native datatypes into to a fully populated object instance. ...then we restore those native datatypes into a fully populated object instance.
serializer = SnippetSerializer(data=data) serializer = SnippetSerializer(data=data)
serializer.is_valid() serializer.is_valid()