summaryrefslogtreecommitdiff
path: root/django/core/files/base.py
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2018-07-27 15:58:08 +0100
committerTim Graham <timograham@gmail.com>2018-07-27 10:58:08 -0400
commit69eb70456bfd42becdbdf1ca6043ae2e3263beb5 (patch)
tree6947317f9b5cdd215dbb235c490758fa37a86cdc /django/core/files/base.py
parent013d439ff038ca8e750e6d1dcd6965f33ad4cf3e (diff)
downloaddjango-69eb70456bfd42becdbdf1ca6043ae2e3263beb5.tar.gz
Fixed typo in ContentFile docstring.
Diffstat (limited to 'django/core/files/base.py')
-rw-r--r--django/core/files/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/files/base.py b/django/core/files/base.py
index 5403d4a702..63e3ee99a9 100644
--- a/django/core/files/base.py
+++ b/django/core/files/base.py
@@ -120,7 +120,7 @@ class File(FileProxyMixin):
class ContentFile(File):
"""
- A File-like object that take just raw content, rather than an actual file.
+ A File-like object that takes just raw content, rather than an actual file.
"""
def __init__(self, content, name=None):
stream_class = StringIO if isinstance(content, str) else BytesIO