Set data ref on underlying django request

This commit is contained in:
Ryan P Kilby 2017-11-13 15:10:31 -05:00
parent 7b3341a49c
commit 278cb68d55

View File

@ -250,9 +250,10 @@ class Request(object):
else: else:
self._full_data = self._data 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. # objects are handled appropriately.
self._request._files = self._files self._request._post = self.POST
self._request._files = self.FILES
def _load_stream(self): def _load_stream(self):
""" """