Browse Source

added pesrpective a

master
alicestrt 4 years ago
parent
commit
2595e783de
  1. BIN
      __pycache__/hello.cpython-36.pyc
  2. 7
      hello.py
  3. 9
      templates/perspectiveA.html

BIN
__pycache__/hello.cpython-36.pyc

Binary file not shown.

7
hello.py

@ -8,7 +8,6 @@ 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('/perspectiveA/')
def perspectiveA():
return render_template('perspectiveA.html')

9
templates/perspectiveA.html

@ -0,0 +1,9 @@
<!doctype html>
<html>
<head>
<title>Perspective A</title>
</head>
<body>
<h1>persssss</h1>
</body>
</html>
Loading…
Cancel
Save