mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 20:10:10 +03:00
Set data ref on underlying django request
This commit is contained in:
parent
7b3341a49c
commit
278cb68d55
|
@ -250,9 +250,10 @@ class Request(object):
|
|||
else:
|
||||
self._full_data = self._data
|
||||
|
||||
# copy files refs to the underlying request so that closable
|
||||
# copy data & files refs to the underlying request so that closable
|
||||
# objects are handled appropriately.
|
||||
self._request._files = self._files
|
||||
self._request._post = self.POST
|
||||
self._request._files = self.FILES
|
||||
|
||||
def _load_stream(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user