mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-30 05:24:00 +03:00
Merge pull request #3897 from zvovov/master
typo in docs - tutorial part 1
This commit is contained in:
commit
ea796fa071
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user