コード例 #1
0
def login():
    print('로그인 들어옴')
    userid = request.form['userid']
    password = request.form['password']
    ctrl = MemberController()
    view = ctrl.login(userid, password)
    return render_template(view)
コード例 #2
0
def login():
    userid= request.form['userid']
    password= request.form['password']
    print('로그인 들어온 아이디{}, 비번{}'.format(userid, password))
    c= MemberController()
    view = c.login(userid, password)
    return render_template(view)
コード例 #3
0
def hello_world():
    MemberController()
    ctrl = MemberController()
    ctrl.create_table()
    return render_template('intro.html')