@property
    def display_name(self):
        if self.caption:
            return self.caption
        else:
            return self.filename
Return a display name for the file.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/attachments/models.py/FileAttachment.display_name