Fixed incorrect pluralized argument in Files docs

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Paul McMillan 2011-09-28 02:26:12 +00:00
parent aaf8a31e5d
commit c340f6aa4d
1 changed files with 2 additions and 2 deletions

View File

@ -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 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:: 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() >>> car.save()
are the same as this one line:: 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 Note that the ``content`` argument must be an instance of either
:class:`File` or of a subclass of :class:`File`, such as :class:`File` or of a subclass of :class:`File`, such as