Commit daf87525 authored by Karen Tracey's avatar Karen Tracey
Browse files

[1.0.X] Fixed #9374 -- Added missing close paren in serialization doc. Thanks jordy.

[9318] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 19d164e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ You can also use a serializer object directly::
    data = xml_serializer.getvalue()

This is useful if you want to serialize data directly to a file-like object
(which includes an :class:`~django.http.HttpResponse` ::
(which includes an :class:`~django.http.HttpResponse`)::

    out = open("file.xml", "w")
    xml_serializer.serialize(SomeModel.objects.all(), stream=out)