From 31d2808a43f25052b4ee8ff7404f627439a28026 Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Fri, 4 Sep 2020 13:20:11 +0200 Subject: Add 404 default error handler. This handles HTTP 404 page does not exist errors. --- ogcp/templates/error.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ogcp/templates/error.html (limited to 'ogcp/templates') diff --git a/ogcp/templates/error.html b/ogcp/templates/error.html new file mode 100644 index 0000000..878a5de --- /dev/null +++ b/ogcp/templates/error.html @@ -0,0 +1,9 @@ +{% extends 'base.html' %} + +{% block content %} + +

+ {{ _('Error!') }}: {{ message }} +

+ +{% endblock %} -- cgit v1.2.3-18-g5258