@register.simple_tag
def active(request, pattern):
    import re
    if re.search(pattern, request.path):
        return 'active'
    return ''
Override to perform cleanup operations when disconnecting from hub
dataset/ETHPy150Open nyaruka/smartmin/smartmin/templatetags/smartmin.py/active--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/viewers/common/qt/data_viewer.py/DataViewer.unregister