#8586: ImageFieldFile cannot be saved with File.read()
-------------------------------------------+--------------------------------
          Reporter:  rokclimb15            |         Owner:  nobody
            Status:  closed                |     Milestone:        
         Component:  File uploads/storage  |       Version:  SVN   
        Resolution:  invalid               |      Keywords:        
             Stage:  Unreviewed            |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by SmileyChris):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 kylefox is correct - you should be passing the `File` object in rather
 than the result of `read()` (and see #8501 for extending file storage so
 it handles saving basic file-like objects too)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8586#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