

def navbar(request):
    'Generate a list of voices for the navigation bar.'
    voice_list = []
    current_path = request.path
    for (name, label) in VOICES:
        path = reverse(name)
        voice_list.append({
            'label': current_path,
            'path': path,
            'is_active': (path == current_path),
        })
    return {
        'navbar': voice_list,
    }

dataset/ETHPy150Open shtalinberg/django-el-pagination/tests/project/context_processors.py navbar/VarMisuse@49/81 `label`->`current_path`