summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/wiki/src')
-rw-r--r--docs/tutorials/wiki/src/views/tutorial/views/notfound.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki/src/views/tutorial/views/notfound.py b/docs/tutorials/wiki/src/views/tutorial/views/notfound.py
index 214ec810e..d44b4d0e6 100644
--- a/docs/tutorials/wiki/src/views/tutorial/views/notfound.py
+++ b/docs/tutorials/wiki/src/views/tutorial/views/notfound.py
@@ -6,7 +6,7 @@ from ..models import Page
@notfound_view_config(renderer='../templates/404.pt')
def notfound_view(request):
request.response.status = 404
- pagename = request.subpath
+ pagename = request.path
page = Page(pagename)
page.__name__ = pagename
return dict(page=page)