Permalink
Browse files

add error templates for DEBUG=False

  • Loading branch information...
1 parent 2606e31 commit 052a292dc81183e0bfe739198a89d1ec35ccf07d root committed May 20, 2011
Showing with 34 additions and 0 deletions.
  1. +17 −0 webif/templates/404.html
  2. +17 −0 webif/templates/500.html
View
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+{% load tabs %}
+{% block menubar %}
+{{ block.super }}
+{% endblock %}
+
+{% block content %}
+ <div>
+ <h1>
+ <div class="subtitle">Error</div>
+ Page not found
+ </h1>
+<br />
+<p>Page not found.</p>
+ </div>
+{% endblock %}
+
View
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+{% load tabs %}
+{% block menubar %}
+{{ block.super }}
+{% endblock %}
+
+{% block content %}
+ <div>
+ <h1>
+ <div class="subtitle">Error</div>
+ Internal Server Error
+ </h1>
+<br />
+<p>Internal Server Error.</p>
+ </div>
+{% endblock %}
+

0 comments on commit 052a292

Please sign in to comment.