

def get_breadcrumb(self):
    from cms.models import Page
    model = (self.placeholder._get_attached_model() or Page)
    breadcrumb = []
    for parent in self.get_ancestors():
        try:
            url = force_text(admin_reverse(('%s_%s_edit_plugin' % (model._meta.app_label, model._meta.model_name)), args=[parent.pk]))
        except NoReverseMatch:
            url = force_text(admin_reverse(('%s_%s_edit_plugin' % (Page._meta.app_label, Page._meta.model_name)), args=[parent.pk]))
        breadcrumb.append({
            'title': force_text(parent.get_plugin_name()),
            'url': url,
        })
    try:
        url = force_text(admin_reverse(('%s_%s_edit_plugin' % (model._meta.app_label, model._meta.model_name)), args=[self.pk]))
    except NoReverseMatch:
        url = force_text(admin_reverse(('%s_%s_edit_plugin' % (Page._meta.app_label, Page._meta.model_name)), args=[self.pk]))
    breadcrumb.append({
        'title': force_text(self.get_plugin_name()),
        'url': url,
    })
    return breadcrumb

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