diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-07-01 01:00:23 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-07-01 01:00:23 +0000 |
| commit | 510e545776468ee0d546c1d57ca668a53d261ca6 (patch) | |
| tree | 0788873778e67c1a34a51a9172e3c8348989c3f8 /docs/serialization.txt | |
| parent | 3336bd5c3df4e2837bfdfdbd6cd50e185134fc11 (diff) | |
Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/serialization.txt')
| -rw-r--r-- | docs/serialization.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/serialization.txt b/docs/serialization.txt index 01afa2708c..fa9b4edd51 100644 --- a/docs/serialization.txt +++ b/docs/serialization.txt @@ -48,12 +48,12 @@ Subset of fields ~~~~~~~~~~~~~~~~ If you only want a subset of fields to be serialized, you can -specify a `fields` argument to the serializer:: +specify a ``fields`` argument to the serializer:: from django.core import serializers data = serializers.serialize('xml', SomeModel.objects.all(), fields=('name','size')) -In this example, only the `name` and `size` attributes of each model will +In this example, only the ``name`` and ``size`` attributes of each model will be serialized. .. note:: |
