Author: mtredinnick
Date: 2007-05-07 22:07:58 -0500 (Mon, 07 May 2007)
New Revision: 5165

Modified:
   django/trunk/docs/serialization.txt
Log:
Fixed #4042 -- Fixed typo in serialization example. Thanks, Vinay Sajip.


Modified: django/trunk/docs/serialization.txt
===================================================================
--- django/trunk/docs/serialization.txt 2007-05-08 02:57:18 UTC (rev 5164)
+++ django/trunk/docs/serialization.txt 2007-05-08 03:07:58 UTC (rev 5165)
@@ -109,7 +109,7 @@
 
 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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to