On 6/29/06, Mary Adel <[EMAIL PROTECTED]> wrote:
>
>  Can we use file upload field to upload videos ???

Requests go into memory before being handled by the view, so large
vids or much concurrency might exhaust memory.  I haven't dug too far,
but it'd be a pretty big change to make an HTTPRequest not keep the
request in memory.

Take a look at (for example)
django.core.handlers.modpython._get_raw_post_data to see the root of
the issue:
def _get_raw_post_data(self):
...
   self._raw_post_data = self._req.read()
...
raw_post_data = property(_get_raw_post_data)

If it's not public-facing (and maybe even if it is) perhaps WebDAV is
what you want?

If it's not, handling large uploads well would be a nice enhancement
to django.  ;-)

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to