#8641: File.save documentation does not mention that contents must be a Django
file object
---------------------------+------------------------------------------------
 Reporter:  pauldwaite     |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 The documentation for the revised FileField
 (http://www.djangoproject.com/documentation/files/) documents the
 replacement for {{{save_FOO_file}}}, {{{File.save(name, content,
 save=True)}}}.

 However, as far as I can tell from testing Beta 2, the content to be saved
 can no longer be a string. It must be an instance of the new Django File
 class (or at least an object that has a {{{chunks}}} attribute).

 The documentation makes no mention of this.

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