X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/cf2b9630938e8c74f7037adacd2f5f0a4b6f2faa..df8055d4debfd98fbd8c3ccfd40b21df063e8545:/views.py?ds=inline diff --git a/views.py b/views.py index f086bfd..911adfe 100644 --- a/views.py +++ b/views.py @@ -17,6 +17,6 @@ def node_view(request, path=None, **kwargs): raise Http404 if not node: raise Http404 - if subpath and not node.instance.accepts_subpath: + if subpath and not node.accepts_subpath: raise Http404 - return node.instance.render_to_response(request, path=path, subpath=subpath) + return node.render_to_response(request, path=path, subpath=subpath)