#9631: FieldFile assumes efficient Storage.size
---------------------------------------------+------------------------------
          Reporter:  psagers                 |         Owner:  nobody           
      
            Status:  new                     |     Milestone:                   
      
         Component:  File uploads/storage    |       Version:  1.1-beta-1       
      
        Resolution:                          |      Keywords:  file upload 
compression
             Stage:  Design decision needed  |     Has_patch:  1                
      
        Needs_docs:  0                       |   Needs_tests:  0                
      
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by kmtracey):

 Replying to [comment:2 redbaron]:
 >  I've run into problem related to this bug. If we try to access file
 size in save() method of model, we are unable to get size, at least in
 case of InMemoryUploadedFile, because default storage unable to find file
 on FS.

 This is actually the problem identified in #10300.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9631#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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to