diff --git a/__pycache__/hello.cpython-36.pyc b/__pycache__/hello.cpython-36.pyc deleted file mode 100644 index 0c605bd..0000000 Binary files a/__pycache__/hello.cpython-36.pyc and /dev/null differ diff --git a/hello.py b/hello.py index b7e5343..9cd3423 100644 --- a/hello.py +++ b/hello.py @@ -12,3 +12,6 @@ def hello_world(): @app.route('/perspectiveB/') def perspectiveB(): return render_template('perspectiveB.html') +@app.route('/perspectiveA/') +def perspectiveA(): + return render_template('perspectiveA.html') diff --git a/templates/hello.html b/templates/hello.html new file mode 100644 index 0000000..db218c1 --- /dev/null +++ b/templates/hello.html @@ -0,0 +1,23 @@ + + + + +Hello from Flask +{% if name %} +

Hello {{ name }}!

+{% else %} +

VVVW

+{% endif %} + + + +
+ test +
+ + + diff --git a/templates/perspectiveA.html b/templates/perspectiveA.html new file mode 100644 index 0000000..9b9a9b7 --- /dev/null +++ b/templates/perspectiveA.html @@ -0,0 +1,9 @@ + + + + Perspective A + + +

persssss

+ +