maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] Added http 404 error page


From: David Decotigny
Subject: [Maposmatic-dev] [PATCH] Added http 404 error page
Date: Sat, 26 Sep 2009 15:42:42 +0200

Added 404 error page in order to avoid wsgi spam mail messages to
root.
---
 www/templates/404.html |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 www/templates/404.html

diff --git a/www/templates/404.html b/www/templates/404.html
new file mode 100644
index 0000000..c31633f
--- /dev/null
+++ b/www/templates/404.html
@@ -0,0 +1,11 @@
+{% load i18n %}
+
+{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans "Home" 
%}</a> &rsaquo; {% trans "Not Found" %}</div>{% endblock %}
+
+{% block title %}{% trans 'Not Found (404)' %}{% endblock %}
+
+{% block content %}
+<h1>{% trans 'Not Found <em>(404)</em>' %}</h1>
+<p>{% trans "Not Found." %}</p>
+
+{% endblock %}
-- 
1.6.4.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]