Ticket #3772: serialize_docs.patch
File serialize_docs.patch, 488 bytes (added by , 18 years ago) |
---|
-
docs/serialization.txt
31 31 32 32 You can also use a serializer object directly:: 33 33 34 xml_serializer = serializers.get_serializer("xml") 34 XMLSerializer = serializers.get_serializer("xml") 35 xml_serializer = XMLSerializer() 35 36 xml_serializer.serialize(queryset) 36 37 data = xml_serializer.getvalue() 37 38