summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorPaul McMillan <Paul@McMillan.ws>2011-09-28 02:26:12 +0000
committerPaul McMillan <Paul@McMillan.ws>2011-09-28 02:26:12 +0000
commitc340f6aa4dd8406fa241e23b6f36ed6be139b1a4 (patch)
tree1f07883bf505e7be69008ecbb5fd59d72f91f96f /docs/ref
parentaaf8a31e5d86f9457672511e1beb915eb83d3c3c (diff)
Fixed incorrect pluralized argument in Files docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/files/file.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt
index 1374d0179b..013d113c84 100644
--- a/docs/ref/files/file.txt
+++ b/docs/ref/files/file.txt
@@ -134,12 +134,12 @@ below) will also have a couple of extra methods:
to point to it. If ``save`` is ``True``, the model's ``save()`` method will
be called once the file is saved. That is, these two lines::
- >>> car.photo.save('myphoto.jpg', contents, save=False)
+ >>> car.photo.save('myphoto.jpg', content, save=False)
>>> car.save()
are the same as this one line::
- >>> car.photo.save('myphoto.jpg', contents, save=True)
+ >>> car.photo.save('myphoto.jpg', content, save=True)
Note that the ``content`` argument must be an instance of either
:class:`File` or of a subclass of :class:`File`, such as