mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
Fixed #9374 -- Added missing close paren in serialization doc. Thanks jordy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
dd9fd80561
commit
2efa5f80d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue