def group_and_bridge(request):
    
    # be group aware
    group = getattr(request, "group", None)
    if group:
        bridge = request.bridge
    else:
        bridge = None
    
    return group, bridge
Close the connection
dataset/ETHPy150Open amarandon/smeuhsocial/apps/photos/views.py/group_and_bridge--crossover with--dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.close