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!' return 'Hello, World!'
@app.route('/hello/') # @app.route('/hello/<name>')
@app.route('/hello/<name>') @app.route('/perspectiveB/')
def hello(name=None): def perspectiveB():
return render_template('hello.html', name=name) return render_template('perspectiveB.html')

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

Loading…
Cancel
Save