Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #4042 -- Fixed typo in serialization example. Thanks, Vinay Sajip.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4fddf43b811f76613b03f9d6c1de5bfc44a901e7 1 parent aaf228d
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/serialization.txt
View
2  docs/serialization.txt
@@ -109,7 +109,7 @@ serializer, you must pass ``ensure_ascii=False`` as a parameter to the
For example::
- json_serializer = serializers.get_serializer("json")
+ json_serializer = serializers.get_serializer("json")()
json_serializer.serialize(queryset, ensure_ascii=False, stream=response)
Writing custom serializers

0 comments on commit 4fddf43

Please sign in to comment.
Something went wrong with that request. Please try again.