def delete(self, *args, **kwargs):
try:<EOL><INDENT>os.remove(self.file.file.name)<EOL><DEDENT>except (OSError, IOError):<EOL><INDENT>pass<EOL><DEDENT>super(Image, self).delete(*args, **kwargs)<EOL>
delete image when an image record is deleted