예제 #1
0
def handles_search():

    input_data = {}

    input_data['d_type'] = request.forms.get('d_type')
    input_data['d_keyword'] = request.forms.get('d_keyword')

    debug_pprint(4, "search handler:", input_data)

    hr = HandleRequest('POST', input_data)

    return hr.handle_post()
예제 #2
0
파일: server.py 프로젝트: gokulaol/g3
def handles_search():

    input_data = {}
    
    input_data['d_type'] = request.forms.get('d_type')
    input_data['d_keyword'] = request.forms.get('d_keyword')
    
    debug_pprint(4, "search handler:", input_data)

    hr = HandleRequest('POST', input_data)
    
    return hr.handle_post()    
예제 #3
0
def handle_save():

    input_data = {}

    input_data['d_type'] = request.forms.get('d_type')
    input_data['d_title'] = request.forms.get('d_title')
    input_data['d_series'] = request.forms.get('d_series')
    input_data['d_sheetid'] = request.forms.get('d_sheetid')
    input_data['d_sheetno'] = request.forms.get('d_sheetno')
    input_data['d_place'] = request.forms.get('d_place')
    input_data['d_date'] = request.forms.get('d_date')
    input_data['d_knowledge'] = request.forms.get('d_knowledge')

    debug_pprint(4, "save handler:", input_data)

    hr = HandleRequest('POST', input_data)

    return hr.handle_post()
예제 #4
0
파일: server.py 프로젝트: gokulaol/g3
def handle_save():

    input_data = {}
    
    input_data['d_type'] = request.forms.get('d_type')
    input_data['d_title'] = request.forms.get('d_title')
    input_data['d_series'] = request.forms.get('d_series')
    input_data['d_sheetid'] = request.forms.get('d_sheetid')
    input_data['d_sheetno'] = request.forms.get('d_sheetno')
    input_data['d_place'] = request.forms.get('d_place')
    input_data['d_date'] = request.forms.get('d_date')
    input_data['d_knowledge'] = request.forms.get('d_knowledge')
    
    debug_pprint(4, "save handler:", input_data)

    hr = HandleRequest('POST', input_data)
    
    return hr.handle_post()