summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/error.html
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-09-04 13:20:11 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-09-04 13:20:11 +0200
commit31d2808a43f25052b4ee8ff7404f627439a28026 (patch)
treeff950dec41bd00b39342b804ebe98ca11d0564ed /ogcp/templates/error.html
parentbb7e20199124b84de5d252ffe0371a5799feee42 (diff)
Add 404 default error handler.
This handles HTTP 404 page does not exist errors.
Diffstat (limited to 'ogcp/templates/error.html')
-rw-r--r--ogcp/templates/error.html9
1 files changed, 9 insertions, 0 deletions
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 %}
+
+<h1>
+ {{ _('Error!') }}: {{ message }}
+</h1>
+
+{% endblock %}