From a2fe62582f8d79b34df8e2a6144c9f3f1f5b1179 Mon Sep 17 00:00:00 2001 From: MS Date: Mon, 7 Sep 2020 17:06:42 +0200 Subject: Styling 404 fallback page. --- talermerchantdemos/donations/donations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'talermerchantdemos/donations') diff --git a/talermerchantdemos/donations/donations.py b/talermerchantdemos/donations/donations.py index 5542bc8..3f021f9 100644 --- a/talermerchantdemos/donations/donations.py +++ b/talermerchantdemos/donations/donations.py @@ -245,4 +245,5 @@ def fulfillment(receiver): @app.errorhandler(404) def handler(e): - return fallback_404(e) + return flask.render_template( + "templates/error.html", message="Page not found") -- cgit v1.2.3