Re: File uploads with django - memory usage questions

2008-02-23 Thread shabda
Read that patch, but considering that this has not been merged, I think are soem known issues with this patch. Reading it, I cant figure out, what the pros, cons are. Any help? Suppose I do not apply this patch, the is there some way to specify that django not accept any file above a fixed size.

Re: File uploads with django - memory usage questions

2008-02-23 Thread [EMAIL PROTECTED]
There is a ticket related to this: http://code.djangoproject.com/ticket/2070 there is a patch that based on the comments should work. On Feb 23, 2:48 pm, shabda <[EMAIL PROTECTED]> wrote: > I have a form which allows users to upload files. > > The form is, > class AddFileForm(forms.Form): >

File uploads with django - memory usage questions

2008-02-23 Thread shabda
I have a form which allows users to upload files. The form is, class AddFileForm(forms.Form): """Add a file.""" filename = forms.FileField() I am using S3 to store files, my view is something like, if request.method == 'POST': addfileform = bforms.AddFileForm(request.POST,