docstring typo fix: DateAndFiles -> DataAndFiles

This commit is contained in:
Dan Lipsitt 2015-12-16 10:42:10 -08:00
parent 00ead782d4
commit fb94be18be

View File

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