Fixed typo in ContentFile docstring.

This commit is contained in:
Thomas Grainger 2018-07-27 15:58:08 +01:00 committed by Tim Graham
parent 013d439ff0
commit 69eb70456b
1 changed files with 1 additions and 1 deletions

View File

@ -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