summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/definingviews.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/wiki/definingviews.rst')
-rw-r--r--docs/tutorials/wiki/definingviews.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/tutorials/wiki/definingviews.rst b/docs/tutorials/wiki/definingviews.rst
index 7ad5e57cb..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``.
@@ -231,7 +231,6 @@ the below:
.. literalinclude:: src/views/tutorial/templates/view.pt
:language: xml
- :tab-width: 2
.. note:: The names available for our use in a template are always those that
are present in the dictionary returned by the view callable. But our
@@ -258,7 +257,6 @@ below:
.. literalinclude:: src/views/tutorial/templates/edit.pt
:language: xml
- :tab-width: 2
Static Assets
-------------