@register.inclusion_tag('elements/breadcrumbs.html', takes_context=True)
def render_breadcrumbs(context):
    try:
        breadcrumbs = context['request'].breadcrumbs
    except AttributeError:
        breadcrumbs = None
    return {'breadcrumbs': breadcrumbs}
A decorator used to mark functions as deprecated.
dataset/ETHPy150Open django-erp/django-erp/djangoerp/core/templatetags/breadcrumbs.py/render_breadcrumbs--crossover with--dataset/ETHPy150Open omaciel/fauxfactory/fauxfactory/__init__.py/deprecated