Commits

David Larlet committed 12fd16b Merge

Merged in jezdez/django-storages (pull request #45)

  • Participants
  • Parent commits 10a96d4, f312d8b

Comments (0)

Files changed (1)

storages/backends/s3boto.py

 
         key.set_metadata('Content-Type', content_type)
         key.set_contents_from_file(content, headers=headers, policy=self.acl,
-                                 reduced_redundancy=self.reduced_redundancy)
+                                 reduced_redundancy=self.reduced_redundancy,
+                                 rewind=True)
         return cleaned_name
 
     def delete(self, name):