#7712: UploadedFile doesn't act like a file object
---------------------------------+------------------------------------------
          Reporter:  artagnon    |         Owner:  nobody             
            Status:  reopened    |     Milestone:  post-1.0           
         Component:  Tools       |       Version:  SVN                
        Resolution:              |      Keywords:  upload uploadedfile
             Stage:  Unreviewed  |     Has_patch:  0                  
        Needs_docs:  0           |   Needs_tests:  0                  
Needs_better_patch:  0           |  
---------------------------------+------------------------------------------
Changes (by jacob_od):

  * milestone:  1.0 beta => post-1.0

Comment:

 file = StringIO.StringIO(request.FILES[filename].read()); image =
 Image.open(file)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7712#comment:3>
Django <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to