Ticket #4042: serializer_instance.patch

File serializer_instance.patch, 448 bytes (added by Vinay Sajip <vinay_sajip@…>, 8 years ago)

Patch for serialization documentation error

  • docs/serialization.txt

     
    109109
    110110For example::
    111111
    112     json_serializer = serializers.get_serializer("json")
     112    json_serializer = serializers.get_serializer("json")()
    113113    json_serializer.serialize(queryset, ensure_ascii=False, stream=response)
    114114
    115115Writing custom serializers
Back to Top