From 5ad4f337848ceb1c91e5b215140cb71b11dd735d Mon Sep 17 00:00:00 2001 From: yomguy Date: Tue, 16 Oct 2012 15:53:46 +0200 Subject: [PATCH] add 404 & 500 --- teleforma/templates/{teleforma => }/404.html | 2 +- teleforma/templates/500.html | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) rename teleforma/templates/{teleforma => }/404.html (78%) create mode 100644 teleforma/templates/500.html diff --git a/teleforma/templates/teleforma/404.html b/teleforma/templates/404.html similarity index 78% rename from teleforma/templates/teleforma/404.html rename to teleforma/templates/404.html index 70d9b073..1ee335d6 100644 --- a/teleforma/templates/teleforma/404.html +++ b/teleforma/templates/404.html @@ -6,7 +6,7 @@ {% block content %} -
+
{% trans "Page not found" %}
diff --git a/teleforma/templates/500.html b/teleforma/templates/500.html new file mode 100644 index 00000000..1260c539 --- /dev/null +++ b/teleforma/templates/500.html @@ -0,0 +1,13 @@ +{% extends "telemeta/base.html" %} +{% load teleforma_tags %} +{% load telemeta_utils %} +{% load i18n %} + + +{% block content %} + +
+{% trans "Server error" %} +
+ +{% endblock content %} -- 2.39.5