#13784: pre_save is dispatched before executing upload_to attributes on 
FileFields
when using ModelForm
---------------------------------+------------------------------------------
          Reporter:  peterbe     |         Owner:  nobody            
            Status:  new         |     Milestone:                    
         Component:  Forms       |       Version:  1.2               
        Resolution:              |      Keywords:  ModelForm pre_save
             Stage:  Unreviewed  |     Has_patch:  0                 
        Needs_docs:  0           |   Needs_tests:  0                 
Needs_better_patch:  0           |  
---------------------------------+------------------------------------------
Changes (by peterbe):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I suspect that the culprit is {{{Model.save_base}}} in
 {{{django/db/models/base.py}}} where it dispatches the signal before it
 does whatever it does to those {{{meta.local_files}}} but I don't
 understand the code enough to attempt a patch at this point.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13784#comment:1>
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-upda...@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