Browse Source

added perspectiveB

master
nglk 4 years ago
parent
commit
e357535d8e
  1. BIN
      __pycache__/hello.cpython-36.pyc
  2. 8
      hello.py
  3. 0
      templates/perspectiveB.html

BIN
__pycache__/hello.cpython-36.pyc

Binary file not shown.

8
hello.py

@ -8,7 +8,7 @@ def hello_world():
return 'Hello, World!'
@app.route('/hello/')
@app.route('/hello/<name>')
def hello(name=None):
return render_template('hello.html', name=name)
# @app.route('/hello/<name>')
@app.route('/perspectiveB/')
def perspectiveB():
return render_template('perspectiveB.html')

0
templates/hello.html → templates/perspectiveB.html

Loading…
Cancel
Save