@register.tag(name="get_docrule_name_by_id")
def do_docrule_name_by_id(parser, token):
    """
    Provides Document Rule Name instead of Document Rule ID, provided

    Uses standard DocruleManager method without making any db requests.
    """
    try:
        # splitting args provided
        tag_name, key_item = token.split_contents()
    except ValueError:
        raise template.TemplateSyntaxError("%r tag requires exactly one argument" * token.contents.split()[0])
    return ConvertDocrule(key_item)
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/mdtui/templatetags/index_keys.py/do_docrule_name_by_id/operator `%` -> `*`