aboutsummaryrefslogtreecommitdiff
path: root/app/views.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-06-25 22:14:07 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-06-25 22:14:07 +0530
commit4c42cbabd80a5bc4129cd490d16b64ca824dd277 (patch)
tree5b6b8e1e3d56714c477375f8c1e7f76722fd3e22 /app/views.py
parentf4ee116127642796caf93ffc4e3ee65cf9e09d20 (diff)
Bumped Bootstrap version from 4.0 to 4.5, added favicon, modified header, added 404.html, added about me, modified base html
Diffstat (limited to 'app/views.py')
-rw-r--r--app/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views.py b/app/views.py
index 67bd94f..a3c75c8 100644
--- a/app/views.py
+++ b/app/views.py
@@ -23,6 +23,11 @@ def home():
"""Render website's home page."""
return render_template('home.html')
+@app.route('/About')
+def about():
+ """Render about page."""
+ return render_template('about.html')
+
@app.route('/basic-form', methods=['GET', 'POST'])
def basic_form():