예제 #1
0
def branches():
    code = request.args.get('code', '')
    branch_list = db.get_branches()
    return render_template('branches.html', page="Branches", branch_list=branch_list)
예제 #2
0
def branches():
    branch_list = db.get_branches()
    return render_template('branches.html',
                           page="Branches",
                           branch_list=branch_list)
예제 #3
0
파일: app.py 프로젝트: Jishell/assignment-3
def branchdetails():
    code = request.args.get('code', '')
    branch = db.get_branches(int(code))
    return render_template('branchdetails.html', code=code, branch=branch)