@register.filter
def check_path_active(node_path, request_path):
    url = get_clean_url(request_path)
    return node_path == url or node_path == url.strip('/')
parse the table structure
dataset/ETHPy150Open Wtower/django-ninecms/ninecms/templatetags/ninecms_extras.py/check_path_active--crossover with--dataset/ETHPy150Open zhongbiaodev/py-mysql-elasticsearch-sync/es_sync/__init__.py/ElasticSync._parse_table_structure