#8208: ImageField does not set width/height_field using 'actual' file
-------------------------------------------+--------------------------------
          Reporter:  vicvicvic             |         Owner:     
            Status:  closed                |     Milestone:  1.0
         Component:  File uploads/storage  |       Version:  SVN
        Resolution:  wontfix               |      Keywords:     
             Stage:  Accepted              |     Has_patch:  1  
        Needs_docs:  1                     |   Needs_tests:  0  
Needs_better_patch:  1                     |  
-------------------------------------------+--------------------------------
Changes (by jacob):

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

Comment:

 Yeah, this patch won't work as-s -- try applying it and running the
 `file_storage` tests to see why. In a nutshell, we need to set the sizes
 before calling `save()` so that `width_field` and `height_field` work
 correctly. So Marty's right that if you monkey with the file, you need to
 do it in some other way.

 Marty, feel free to open another ticket for the docs if you get a chance
 to write 'em.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8208#comment:6>
Django Code <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