Code

Ticket #18214: serialization-clarification.diff

File serialization-clarification.diff, 1.2 KB (added by ogier, 2 years ago)
Line 
1diff --git a/docs/topics/serialization.txt b/docs/topics/serialization.txt
2index d5a5282..6bda32d 100644
3--- a/docs/topics/serialization.txt
4+++ b/docs/topics/serialization.txt
5@@ -3,8 +3,8 @@ Serializing Django objects
6 ==========================
7 
8 Django's serialization framework provides a mechanism for "translating" Django
9-objects into other formats. Usually these other formats will be text-based and
10-used for sending Django objects over a wire, but it's possible for a
11+models into other formats. Usually these other formats will be text-based and
12+used for sending Django data over a wire, but it's possible for a
13 serializer to handle any format (text-based or not).
14 
15 .. seealso::
16@@ -23,8 +23,8 @@ At the highest level, serializing data is a very simple operation::
17 The arguments to the ``serialize`` function are the format to serialize the data
18 to (see `Serialization formats`_) and a
19 :class:`~django.db.models.query.QuerySet` to serialize. (Actually, the second
20-argument can be any iterator that yields Django objects, but it'll almost
21-always be a QuerySet).
22+argument can be any iterator that yields Django model instances, but it'll
23+almost always be a QuerySet).
24 
25 You can also use a serializer object directly::
26