From 455196d7a4759d751dffb68369e7e02590ce26cf Mon Sep 17 00:00:00 2001 From: Claus Conrad Date: Sun, 30 Jan 2011 23:41:01 -0800 Subject: Typo - "tutorial.models.Wiki" should be "tutorial.models.Page" --- docs/tutorials/wiki/definingviews.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/wiki/definingviews.rst b/docs/tutorials/wiki/definingviews.rst index 90768f320..31900233c 100644 --- a/docs/tutorials/wiki/definingviews.rst +++ b/docs/tutorials/wiki/definingviews.rst @@ -76,7 +76,7 @@ The ``view_page`` view function The ``view_page`` function will be configured to respond as the default view of a Page resource. We'll provide it with a ``@view_config`` decorator which -names the class ``tutorial.models.Wiki`` as its context. This means that +names the class ``tutorial.models.Page`` as its context. This means that when a Page resource is the context, and no :term:`view name` exists in the request, this view will be used. We inform :app:`Pyramid` this view will use the ``templates/view.pt`` template file as a ``renderer``. -- cgit v1.2.3