Hello,
I'm not entirely sure how Amazon S3 affects your situation, but #2070
is the only option I know of to chunk your files (i.e. to avoid
loading the entire contents into memory).
If you're using #2070, then the files that were successfully streamed
will have a ['tmpfile'] attribute, which is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
Not sure what you're trying to achieve with FileWrapper,
however here's how I'd do it with Django prior to revision 5818:
...
if request.method == 'POST':
# Fetch some new data..
new_data = request.POST.copy()
new_data.update(re
Hi there!
I'm using Amazon S3 for file storage, so I have to access the FILES-
object directly in my view. So #2070 won't have any effect, as far as
I can see.
I've been thinking about the FileWrapper-object.
If I access it like this: the_file =
FileWrapper(file(StringIO(request.FILES['file']['c