mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +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)
|
||||
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.is_valid()
|
||||
|
|
Loading…
Reference in New Issue
Block a user