Yann Malet committed 1ed3243

This modification aims to fix the bug #70 of django-storage for the cloudfiles backend. The goal is to only try to delete the file if the file exits.

Comments (0)

Files changed (1)


         Deletes the specified file from the storage system.
-        self.container.delete_object(name)
+        # If the file exists, delete it.
+        if self.exists(name):
+            self.container.delete_object(name)
     def exists(self, name):