def edit_commcare_settings(request, domain, app_id): sub_responses = ( edit_commcare_profile(request, domain, app_id), edit_app_attr(request, domain, app_id, 'all'), ) response = {} for sub_response in sub_responses: response.update(json.loads(sub_response.content)) return json_response(response)
def edit_commcare_settings(request, domain, app_id): sub_responses = ( edit_commcare_profile(request, domain, app_id), edit_app_attr(request, domain, app_id, 'all'), ) response = {} for sub_response in sub_responses: response.update( json.loads(sub_response.content) ) return json_response(response)