

def render_with_args(self, context, crumb, url=None, *args):
    href = None
    if url:
        if ('/' in url):
            href = url
        else:
            href = reverse(url, args=args)
    if (not hasattr(context['request'], 'breadcrumbs')):
        context['request'].breadcrumbs = []
    context['request'].breadcrumbs.append((('%s' % crumb), href))
    return ''

dataset/ETHPy150Open django-erp/django-erp/djangoerp/core/templatetags/breadcrumbs.py AddCrumbNode.render_with_args/original