예제 #1
0
def ajax_generate_example_model():
    #xnr_user_no = request.args.get('xnr_user_no','')
    domain_name = request.args.get('domain_name', '')
    role_name = request.args.get('role_name', '')
    results = get_generate_example_model(domain_name, role_name)

    return json.dumps(results)
예제 #2
0
파일: views.py 프로젝트: yuanhuiru/xnr2
def ajax_generate_example_model():
    domain_name = request.args.get('domain_name', '')
    role_name = request.args.get('role_name', '')
    mail = request.args.get('mail', '')
    results = get_generate_example_model(domain_name, role_name, mail)
    return json.dumps(results)