X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/0763589c29458e7c4e7b7bfb5424b724a112931d..4124d776c70ea5a7cf8bd08223f61bc1c73af348:/views.py diff --git a/views.py b/views.py index ab4c216..b3e2a74 100644 --- a/views.py +++ b/views.py @@ -27,7 +27,7 @@ def node_view(request, path=None, **kwargs): return node.render_to_response(request, path=path, subpath=subpath) except Http404, e: if settings.DEBUG: - raise e + raise try: Http404View = node.relationships['Http404'] @@ -42,7 +42,7 @@ def node_view(request, path=None, **kwargs): return Http404View.render_to_response(node, request, path, subpath, extra_context) except Exception, e: if settings.DEBUG: - raise e + raise try: Http500View = node.relationships['Http500']