Commits

Anonymous committed e732038

Fixed #3772 -- Minor fix to serialization docs. Thanks, SmileyChris.

  • Participants
  • Parent commits 6345118

Comments (0)

Files changed (1)

docs/serialization.txt

 
 You can also use a serializer object directly::
 
-    xml_serializer = serializers.get_serializer("xml")
+    XMLSerializer = serializers.get_serializer("xml")
+    xml_serializer = XMLSerializer()
     xml_serializer.serialize(queryset)
     data = xml_serializer.getvalue()