Filestorage and save=False/commit=False
|Reported by:||shadfc||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In FieldFile.save(), the storage.save() is called regardless of the save argument.
I need to be able edit the data uploaded to a FileField before the storage backend gets called to save the file, but this isn't possible. As it stands, to make this work, the files get saved with formset.save(commit=False) is called, and then I must manually call the storage.save() to save the updated data to the same on the backend.
There is some discussion on the django-developers list about this. Follow at http://groups.google.com/group/django-developers/browse_thread/thread/e2057d165c3a0c12