summaryrefslogtreecommitdiff
path: root/docs/ref/files
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/files')
-rw-r--r--docs/ref/files/file.txt10
-rw-r--r--docs/ref/files/uploads.txt4
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt
index 23a3814f5d..6fd56c227b 100644
--- a/docs/ref/files/file.txt
+++ b/docs/ref/files/file.txt
@@ -36,11 +36,11 @@ The ``File`` class
Some subclasses of :class:`File`, including
:class:`~django.core.files.base.ContentFile` and
:class:`~django.db.models.fields.files.FieldFile`, may replace this
- attribute with an object other than a Python :py:term:`file object`.
- In these cases, this attribute may itself be a :class:`File`
- subclass (and not necessarily the same subclass). Whenever
- possible, use the attributes and methods of the subclass itself
- rather than the those of the subclass's ``file`` attribute.
+ attribute with an object other than a Python :py:term:`file
+ object`. In these cases, this attribute may itself be a
+ :class:`File` subclass (and not necessarily the same subclass).
+ Whenever possible, use the attributes and methods of the subclass
+ itself rather than the those of the subclass's ``file`` attribute.
.. attribute:: mode
diff --git a/docs/ref/files/uploads.txt b/docs/ref/files/uploads.txt
index 39456c16f0..dd8ff99689 100644
--- a/docs/ref/files/uploads.txt
+++ b/docs/ref/files/uploads.txt
@@ -25,8 +25,8 @@ You'll usually use one of these methods to access the uploaded content:
.. method:: UploadedFile.multiple_chunks(chunk_size=None)
Returns ``True`` if the uploaded file is big enough to require reading in
- multiple chunks. By default this will be any file larger than 2.5 megabytes,
- but that's configurable; see below.
+ multiple chunks. By default this will be any file larger than 2.5
+ megabytes, but that's configurable; see below.
.. method:: UploadedFile.chunks(chunk_size=None)