def delete(self):
        self.status = MEDIA_STATUS.deleted
        self.save()
Deletes a file by setting its status to deleted
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/models.py/MediaFile.delete