]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/views/exceptions.py
New 404 page. Hooray, no more boring ones!
[xonotic/xonstat.git] / xonstat / views / exceptions.py
diff --git a/xonstat/views/exceptions.py b/xonstat/views/exceptions.py
new file mode 100644 (file)
index 0000000..0cc9148
--- /dev/null
@@ -0,0 +1,5 @@
+import logging
+import random
+
+def notfound(request):
+    return {'rand': int(random.random() * 100)}