Skip to content

Commit f489c97

Browse files
committed
modelserializer docs
1 parent 4bb3921 commit f489c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rest-framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ updates are queried.
6161
if 'id' in input:
6262
instance = Post.objects.filter(id=input['id'], owner=info.context.user).first()
6363
if instance:
64-
return {'intance': instance, 'data': input, 'partial': True}
64+
return {'instance': instance, 'data': input, 'partial': True}
6565
6666
else:
6767
raise http.Http404

0 commit comments

Comments
 (0)