Ticket #14814: r14751_field_file.diff
File r14751_field_file.diff, 487 bytes (added by , 14 years ago) |
---|
-
django/db/models/fields/files.py
102 102 save.alters_data = True 103 103 104 104 def delete(self, save=True): 105 if not self: 106 return 107 105 108 # Only close the file if it's already open, which we know by the 106 109 # presence of self._file 107 110 if hasattr(self, '_file'):