I've seen already two people highly confused with this thing. After successful validation of a form with file upload form.cleaned_data['fieldname'] contains an instance of a wrapper -- newforms.fields.UploadedFile. People confuse it with the real core.files.uploadedfile.UploadedFile which is accessible through form.cleaned_data['fieldname'].data
If I understand right the only point of a wrapper is holding an original name of a file that was uploaded. I think it would be better to get rid of the wrapper, put a read UploadedFile in cleaned_data and add "original_filename" as an optional parameter to it. Thoughts? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
