コード例 #1
0
ファイル: views.py プロジェクト: bazuzi/commcare-hq
def ils_resync_web_users(request, domain):
    config = ILSGatewayConfig.for_domain(domain)
    endpoint = ILSGatewayEndpoint.from_config(config)
    resync_web_users.delay(ILSGatewayAPI(domain=domain, endpoint=endpoint))
    return HttpResponse('OK')
コード例 #2
0
ファイル: views.py プロジェクト: ekush/commcare-hq
def ils_resync_web_users(request, domain):
    config = ILSGatewayConfig.for_domain(domain)
    endpoint = ILSGatewayEndpoint.from_config(config)
    resync_web_users.delay(ILSGatewayAPI(domain=domain, endpoint=endpoint))
    return HttpResponse('OK')
コード例 #3
0
ファイル: views.py プロジェクト: LifeCoaching/commcare-hq
def ews_resync_web_users(request, domain):
    config = EWSGhanaConfig.for_domain(domain)
    endpoint = GhanaEndpoint.from_config(config)
    resync_web_users.delay(EWSApi(domain=domain, endpoint=endpoint))
    return HttpResponse('OK')
コード例 #4
0
def ews_resync_web_users(request, domain):
    config = EWSGhanaConfig.for_domain(domain)
    endpoint = GhanaEndpoint.from_config(config)
    resync_web_users.delay(EWSApi(domain=domain, endpoint=endpoint))
    return HttpResponse('OK')