Oh yes. Thanks Karen. On Mar 12, 7:06 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Sat, Mar 12, 2011 at 12:06 AM, vamsy krishna <badguitar...@gmail.com>wrote: > > > I'm doing a file upload from one of my forms and writing the content > > to a temp file on the server. The problem is any file of size more > > than 250 KB is throwing the below error: > > > Request Entity Too Large > > The requested resource > > /tera/tera_upload/ > > does not allow request data with POST requests, or the amount of data > > provided in the request exceeds the capacity limit. > > > I read through the django file uploads documentation and it says the > > default file upload size in memory is about 2.5 MB. Can anyone tell me > > what I'm overlooking? Also how do I set a maximum file size limit and > > handle it? > > This error isn't coming from Django, it's coming from your web server which > has apparently been configured to limit request body size. How to change the > limit will depend on what server you are using. If Apache, see for example > LimitRequestBody here:http://httpd.apache.org/docs/2.0/mod/core.html > > Karen > --http://tracey.org/kmt/
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.