

def group_context(group, bridge):
    ctx = {
        'group': group,
    }
    if group:
        ctx['group_base'] = bridge.group_base_template()
    return ctx

dataset/ETHPy150Open amarandon/smeuhsocial/apps/photos/views.py group_context/original