

def get_short_description(self):
    instance = self.get_plugin_instance()[0]
    if (instance is not None):
        return force_text(instance)
    return _('<Empty>')

dataset/ETHPy150Open divio/django-cms/cms/models/pluginmodel.py CMSPlugin.get_short_description/original