From f52d3f0058a94df827b1f49dbf9a54c63683aeaf Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Thu, 5 Jul 2012 10:06:37 -0400 Subject: Added ErrorTemplates to avoid errors when debug=false --- templates/404.html | 37 +++++++++++++++++++++++++++++++++++++ templates/500.html | 37 +++++++++++++++++++++++++++++++++++++ templates/thread.html | 1 + 3 files changed, 75 insertions(+) create mode 100644 templates/404.html create mode 100644 templates/500.html diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..dbc98cb --- /dev/null +++ b/templates/404.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} + + +
+
+ 404 +

+ Oh! Snap +

+ This is not the page you were looking for right! + Fix This +
+
+ +{% endblock %} \ No newline at end of file diff --git a/templates/500.html b/templates/500.html new file mode 100644 index 0000000..6c156d7 --- /dev/null +++ b/templates/500.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} + + +
+
+ 500 +

+ Oh! Snap +

+ This is not the page you were looking for right! + Fix This +
+
+ +{% endblock %} \ No newline at end of file diff --git a/templates/thread.html b/templates/thread.html index 4168b3e..abf6747 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -23,6 +23,7 @@ {% include 'messages/message.html' %} + {% endfor %} -- cgit