Add a template page for server error config. HTTP 500.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 19 Jan 2011 18:36:29 +0530
changeset 473 50484b901aad
parent 472 f9011a1dfe1c
child 474 10ba21c3c2dc
Add a template page for server error config. HTTP 500.
pytask/templates/500.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/templates/500.html	Wed Jan 19 18:36:29 2011 +0530
@@ -0,0 +1,5 @@
+{% extends 'base.html' %}
+{% block content %}
+    There was an error in rendering the page you requested for. The admin has been notified about it.<br />
+    Please <a href="javascript:history.go(-1)">click here</a> to get back to the previous page.
+{% endblock %}