app route MainTests def MainTests return render_template MainTests htm

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
@app.route('/MainTests')
def MainTests():
return render_template('MainTests.html')
@app.route('/Theme<a>/Test<b>')
def showTest(a, b):
obj = {
'a': a,
'b': b
}
return render_template('showtest.html', param = obj)