taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit a2fe62582f8d79b34df8e2a6144c9f3f1f5b1179
parent e1dc7237c62e21d123deaaeda0f9ef2a06ae960f
Author: MS <ms@taler.net>
Date:   Mon,  7 Sep 2020 17:06:42 +0200

Styling 404 fallback page.

Diffstat:
Mtalermerchantdemos/blog/blog.py | 3++-
Mtalermerchantdemos/donations/donations.py | 3++-
Mtalermerchantdemos/survey/survey.py | 3++-
3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py @@ -275,4 +275,5 @@ def article(article_name, data=None): @app.errorhandler(404) def handler(e): - return fallback_404(e) + return flask.render_template( + "templates/error.html", message="Page not found") diff --git 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") diff --git a/talermerchantdemos/survey/survey.py b/talermerchantdemos/survey/survey.py @@ -138,4 +138,5 @@ def index(): @app.errorhandler(404) def handler(e): - return fallback_404(e) + return flask.render_template( + "templates/error.html", message="Page not found")