mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
docstring typo fix: DateAndFiles -> DataAndFiles
This commit is contained in:
parent
00ead782d4
commit
fb94be18be
|
@ -126,7 +126,7 @@ class FileUploadParser(BaseParser):
|
|||
def parse(self, stream, media_type=None, parser_context=None):
|
||||
"""
|
||||
Treats the incoming bytestream as a raw file upload and returns
|
||||
a `DateAndFiles` object.
|
||||
a `DataAndFiles` object.
|
||||
|
||||
`.data` will be None (we expect request body to be a file content).
|
||||
`.files` will be a `QueryDict` containing one 'file' element.
|
||||
|
|
Loading…
Reference in New Issue
Block a user