Ejemplo n.º 1
0
def login():
    userid = request.form['userid']
    password = request.form['password']
    ctrl = MemberController()
#    ctrl.create_table()
    view = ctrl.login(userid, password)
    return render_template(view)
Ejemplo n.º 2
0
def login():
    print('로그인 들어옴')
    userid = request.form['userid']
    password = request.form['password']
    ctrl = MemberController()
    view = ctrl.login(userid, password)
    return render_template(view)
Ejemplo n.º 3
0
def login():
    print('로그인 들어옴')
    userid = request.form['userid']
    password = request.form['password']
    print('userid %s' % (userid))
    print('password %s' % (password))
    ctrl = MemberController()
    view = ctrl.login(userid, password)
    return render_template('index.html')
Ejemplo n.º 4
0
def login():
    # form - input 테그 안에 name
    userid = request.form['userid']
    password = request.form['password']

    log_ctrl = MemberController()
    #log_ctrl.create_table()
    view = log_ctrl.login(userid, password)
    return render_template(view)
Ejemplo n.º 5
0
def login():
    print('로그인 진입')
    userid = request.form['userid']
    password = request.form['password']
    print("userid %s" % (userid))
    print("password %s" % (password))
    ctrl = MemberController()
    view = ctrl.login(userid, password)
    return render_template(view)
Ejemplo n.º 6
0
def login():
    # 웹에서 사용자 입력값 받기
    userid = request.form['userid']
    password = request.form['password']
    # 컨트롤러 생성시 받은 값 전달후 모델이 예측한 값 받기
    c = MemberController()
    #c.create_table()

    view = c.login(userid, password)
    return render_template(view)
Ejemplo n.º 7
0
def hello_world():
    ctrl = MemberController()
    ctrl.create_table()
    return render_template('intro.html')