aboutsummaryrefslogtreecommitdiffstats
path: root/templates/400.html
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-24 00:14:11 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-24 00:14:11 +0800
commitce26313905fa5d5c141cc7a871d37e1740765df1 (patch)
treec1b63a66acd633374be61a1fdc638e20e4953bb2 /templates/400.html
parent9a4e3be3f042e39a72e5d8f2f791d437d74051a5 (diff)
downloaddjango-skaschool-ce26313905fa5d5c141cc7a871d37e1740765df1.tar.bz2
* added 'ADMINS' and 'MANAGERS' settings to settings_production.py
* added templates 400, 404, 404 and 500
Diffstat (limited to 'templates/400.html')
-rw-r--r--templates/400.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/400.html b/templates/400.html
new file mode 100644
index 0000000..89ce313
--- /dev/null
+++ b/templates/400.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+
+{# 400 bad request template #}
+
+{% block title %}
+400无效的请求 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>404 Bad Request</h2>
+ <p class="lead">Oops, 无效的请求……</p>
+ <br>
+ <p>如有问题,请与我们联系:<a href="mailto:skaschool2014@163.com"><code>skaschool2014@163.com</code></a></p>
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}