I had problems with file uploading time ago and I found this post

http://groups.google.com/group/django-users/browse_thread/thread/d83259c6bdd0151f/3880fdebcef9a367?lnk=gst&q=uploading+images&rnum=5#3880fdebcef9a367

It helped me so much. And I wonder it could help you.

Notice the atributes of the form in the template, specially
enctype="multipart/form-data"

Also note that the "real" content of the file is at

 data = request.FILES[ 'file' ][ 'content' ]

I hope it could help you.

Goyo


--~--~---------~--~----~------------~-------~--~----~
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