X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/ff25ab28d66f0d6dcd7371d76da1573bf21d5439..4c276c601b86efbba0236eea2bda190bdff48af1:/views.py?ds=inline 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']