コード例 #1
0
ファイル: tasks.py プロジェクト: kkaczmarczyk/commcare-hq
def migration_task():
    configs = ILSGatewayConfig.get_all_configs()
    for config in configs:
        if config.enabled:
            bootstrap_domain(config)
コード例 #2
0
ファイル: tasks.py プロジェクト: SEL-Columbia/commcare-hq
def migration_task():
    configs = ILSGatewayConfig.get_all_configs()
    for config in configs:
        if config.enabled:
            bootstrap_domain(config)
コード例 #3
0
ファイル: tasks.py プロジェクト: kkaczmarczyk/commcare-hq
def bootstrap_domain_task(domain):
    ilsgateway_config = ILSGatewayConfig.for_domain(domain)
    return bootstrap_domain(ilsgateway_config)
コード例 #4
0
ファイル: tasks.py プロジェクト: SEL-Columbia/commcare-hq
def bootstrap_domain_task(domain):
    ilsgateway_config = ILSGatewayConfig.for_domain(domain)
    return bootstrap_domain(ilsgateway_config)