summaryrefslogtreecommitdiffstats
path: root/ipsilon/root.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-10-06 21:48:58 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-10-07 16:48:25 +0200
commit907d40cac424c9c7bf3a190b445858bc6eab949e (patch)
tree2b9194f7cb8f021e8ac49de59b5fbb59fb81ac8a /ipsilon/root.py
parent3f7e6358c02d0822c5fe1c2da72a3b32ffe12ec6 (diff)
downloadipsilon-907d40cac424c9c7bf3a190b445858bc6eab949e.tar.gz
ipsilon-907d40cac424c9c7bf3a190b445858bc6eab949e.tar.xz
ipsilon-907d40cac424c9c7bf3a190b445858bc6eab949e.zip
Add pretty handler for 404
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/root.py')
-rwxr-xr-xipsilon/root.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipsilon/root.py b/ipsilon/root.py
index 0046ddf..b2654ac 100755
--- a/ipsilon/root.py
+++ b/ipsilon/root.py
@@ -43,6 +43,7 @@ class Root(Page):
# set up error pages
cherrypy.config['error_page.400'] = errors.Error_400(self._site)
cherrypy.config['error_page.401'] = errors.Error_401(self._site)
+ cherrypy.config['error_page.404'] = errors.Error_404(self._site)
cherrypy.config['error_page.500'] = errors.Errors(self._site)
# now set up the default login plugins