Skip to content

Commit

Permalink
Fixed #9374 -- Added missing close paren in serialization doc. Thanks…
Browse files Browse the repository at this point in the history
… jordy.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
kmtracey committed Nov 1, 2008
1 parent dd9fd80 commit 2efa5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/serialization.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 2efa5f8

Please sign in to comment.