#5619: FileField and ImageField return the wrong path/url before calling
save_FOO_file()
---------------------------------------+------------------------------------
          Reporter:  [EMAIL PROTECTED]  |         Owner:  nobody        
            Status:  new               |     Component:  Core framework
           Version:  SVN               |      Keywords:                
             Stage:  Unreviewed        |     Has_patch:  1             
        Needs_docs:  0                 |   Needs_tests:  0             
Needs_better_patch:  0                 |  
---------------------------------------+------------------------------------
 Models with FileField or ImageField attributes do not function properly.
 The get_FOO_filename() and get_FOO_url() methods fail to insert the
 upload_to path if they are accessed before a call to save_FOO_image().
 This happens because _get_FIELD_filename() and _get_FIELD_url() do not
 call field.get_filename().  I've attached a patch to resolve the issue.

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