And, here's the stack trace from pdb at the line after the temp file was created:
/srv/django-projects/ReFlow/reflow/wsgi.py(64)__call__()
-> return self.__object(*args, **kwargs)
/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py(241)__call__()
-> response = self.get_response(request)
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py(111)get_response()
-> response = callback(request, *callback_args, **callback_kwargs)
/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py(48)view()
-> return self.dispatch(request, *args, **kwargs)
/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py(25)_wrapper()
-> return bound_func(*args, **kwargs)
/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py(77)wrapped_view()
-> return view_func(*args, **kwargs)
/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py(21)bound_func()
-> return func(self, *args2, **kwargs2)
/srv/django-projects/ReFlow/repository/api_views.py(55)dispatch()
-> return super(LoginRequiredMixin, self).dispatch(request, *args, **kwargs)
/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py(77)wrapped_view()
-> return view_func(*args, **kwargs)
/usr/local/lib/python2.7/dist-packages/rest_framework/views.py(384)dispatch()
-> if request.method.lower() in self.http_method_names:
/usr/local/lib/python2.7/dist-packages/rest_framework/request.py(114)method()
-> self._load_method_and_content_type()
/usr/local/lib/python2.7/dist-packages/rest_framework/request.py(234)_load_method_and_content_type()
-> self._perform_form_overloading()
/usr/local/lib/python2.7/dist-packages/rest_framework/request.py(275)_perform_form_overloading()
-> self._data = self._request.POST
/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py(180)_get_post()
-> self._load_post_and_files()
/usr/local/lib/python2.7/dist-packages/django/http/__init__.py(367)_load_post_and_files()
-> self._post, self._files = self.parse_file_upload(self.META, data)
/usr/local/lib/python2.7/dist-packages/django/http/__init__.py(327)parse_file_upload()
-> return parser.parse()
/usr/local/lib/python2.7/dist-packages/django/http/multipartparser.py(190)parse()
-> charset)
/usr/local/lib/python2.7/dist-packages/django/core/files/uploadhandler.py(135)new_file()
-> self.file = TemporaryUploadedFile(self.file_name, self.content_type, 0, self.charset)
> /usr/local/lib/python2.7/dist-packages/django/core/files/uploadedfile.py(67)__init__()
-> super(TemporaryUploadedFile, self).__init__(file, name, content_type, size, charset)