Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/common/djangoapps/external_auth/views.py   MHST2013-14(Download)
    # see if we have a map from this external_id to an edX username
    try:
        eamap = ExternalAuthMap.objects.get(external_id=external_id,
                                            external_domain=external_domain)
        log.debug('Found eamap=%s', eamap)

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/common/djangoapps/student/views.py   MHST2013-14(Download)
    external_auth_map = None
    try:
        external_auth_map = ExternalAuthMap.objects.get(user=user)
    except ExternalAuthMap.DoesNotExist:
        pass