From 9632cc8d8fff4e091f6b4e21a1062f7f8887eb90 Mon Sep 17 00:00:00 2001 From: Branson Stephens <stephenb@uwm.edu> Date: Tue, 7 Jan 2014 16:41:57 -0600 Subject: [PATCH] Added basic 500 template. I did this because sometimes Django gives uninformative error messages (while in DEBUG mode) if the 500 template is absent. --- templates/500.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/500.html diff --git a/templates/500.html b/templates/500.html new file mode 100644 index 000000000..e44292567 --- /dev/null +++ b/templates/500.html @@ -0,0 +1,18 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +Â +<head> + <title>Page unavailable</title> +</head> +Â +<body> + <h1>500: Page unavailable</h1> +Â + <p>Sorry, but the requested page is unavailable due to a server hiccup.</p> +Â + <p>The admins have been notified.</p> +</body> +Â +</html> + -- GitLab