From 4fddf43b811f76613b03f9d6c1de5bfc44a901e7 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 8 May 2007 03:07:58 +0000 Subject: [PATCH] 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 --- docs/serialization.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/serialization.txt b/docs/serialization.txt index 8af4da26a8..3216cb061e 100644 --- a/docs/serialization.txt +++ b/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