mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
Fixed typo in ContentFile docstring.
This commit is contained in:
parent
013d439ff0
commit
69eb70456b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user