#5029: newforms FileField special file naming requirements
--------------------------------------------------+-------------------------
   Reporter:  Øyvind Saltvik <[EMAIL PROTECTED]>  |                Owner:  
nobody                
     Status:  new                                 |            Component:  
django.newforms       
    Version:  SVN                                 |           Resolution:       
                 
   Keywords:  file naming newforms filefield      |                Stage:  
Design decision needed
  Has_patch:  0                                   |           Needs_docs:  0    
                 
Needs_tests:  0                                   |   Needs_better_patch:  0    
                 
--------------------------------------------------+-------------------------
Comment (by jwickers):

 For now i use the above patch (sorry for double posting, the first one had
 a hack for i18n i forgot about ..)
 I can then specify the new upload_to in the view:
 {{{
 my_model.save_FOO_file(filename, content, upload_to="myfolder/%s"
 %(my_model.id))
 }}}

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