Leave requests.FILES alone, for compat with regular Django requests. Closes #3239.

This commit is contained in:
Tom Christie 2015-08-07 14:24:28 +01:00
parent 67ddd54a89
commit 19c1976fcc

View File

@ -458,10 +458,8 @@ class Request(object):
@property
def FILES(self):
raise NotImplementedError(
'`request.FILES` has been deprecated in favor of `request.files` '
'since version 3.0, and has been fully removed as of version 3.2.'
)
# Leave this one alone for backwards compat with Django's request.FILES
return self.files
@property
def QUERY_PARAMS(self):