projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
209e19f
)
Add a 500.html template
author
Magnus Hagander
<magnus@hagander.net>
Sun, 11 Dec 2011 15:30:26 +0000
(16:30 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Sun, 11 Dec 2011 15:30:26 +0000
(16:30 +0100)
This will render errors within the framework. And it's certainly
better than a django internal stacktrace asking for 500.html :-)
Fixes #105
templates/500.html
[new file with mode: 0644]
patch
|
blob
diff --git a/templates/500.html
b/templates/500.html
new file mode 100644
(file)
index 0000000..
b77c68c
--- /dev/null
+++ b/
templates/500.html
@@ -0,0
+1,9
@@
+{%extends "base/page.html"%}
+{%block title%}Server error{%endblock%}
+{%block contents%}
+<h1>Server Error</h1>
+<p>
+An internal server error occured.
+</p>
+</h1>
+{%endblock%}