summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views.py b/app/views.py
index 7450946..accbeb5 100644
--- a/app/views.py
+++ b/app/views.py
@@ -18,9 +18,9 @@ def static_url(s):
return url_for("static", filename=s)
-#@app.errorhandler(404)
-#def page_not_found (error):
-# print request.path
+@app.errorhandler(404)
+def page_not_found (error):
+ return render_template("404.jinja", page = request.path), 404
@app.route("/")
@app.route("/index")