#2070: Large streaming uploads
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: assigned | Component: Core framework
Version: SVN | Resolution:
Keywords: streaming, upload, large | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 1
----------------------------------------+-----------------------------------
Comment (by anonymous):
Replying to [comment:143 Michael Axiak <[EMAIL PROTECTED]>]:
> The new version looks like:
> {{{
> #!python
>
> object.save_video_file(request.FILE['video']['filename'],
request.FILE['video'])
> }}}
Why not skip request.FILE['video']['filename'] at all? This is provided by
request.FILE['video'] anyway.
IMHO having filename as an separate parameter makes only sense if this
would be used somehow directly, but currently the filename/path where the
file gets saved is changed by the field (field.get_directory_name() and
field.get_filename(filename)).
--
Ticket URL: <http://code.djangoproject.com/ticket/2070#comment:144>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---