Commit 19c1976f by Tom Christie

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

parent 67ddd54a
...@@ -458,10 +458,8 @@ class Request(object): ...@@ -458,10 +458,8 @@ class Request(object):
@property @property
def FILES(self): def FILES(self):
raise NotImplementedError( # Leave this one alone for backwards compat with Django's request.FILES
'`request.FILES` has been deprecated in favor of `request.files` ' return self.files
'since version 3.0, and has been fully removed as of version 3.2.'
)
@property @property
def QUERY_PARAMS(self): def QUERY_PARAMS(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment