summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki/basiclayout.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/bfgwiki/basiclayout.rst')
-rw-r--r--docs/tutorials/bfgwiki/basiclayout.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/tutorials/bfgwiki/basiclayout.rst b/docs/tutorials/bfgwiki/basiclayout.rst
index 5934799b9..f0bf8ced8 100644
--- a/docs/tutorials/bfgwiki/basiclayout.rst
+++ b/docs/tutorials/bfgwiki/basiclayout.rst
@@ -30,12 +30,13 @@ following:
#. *Line 4*. Boilerplate, the comment explains.
-#. *Lines 6-10*. Register a ``<view>`` that is ``for`` a class.
- ``.views.my_view`` is a *function* we write (generated by the
- ``bfg_zodb`` template) that is given a ``context`` and a
- ``request`` and which returns a dictionary. The ``renderer`` tag
- indicates that the ``templates/mytemplate.pt`` template should be
- used to turn the dictionary returned by the view into a response.
+#. *Lines 6-10*. Register a ``<view>`` that names a ``context`` type
+ that is a class. ``.views.my_view`` is a *function* we write
+ (generated by the ``bfg_zodb`` template) that is given a
+ ``context`` object and a ``request`` and which returns a
+ dictionary. The ``renderer`` tag indicates that the
+ ``templates/mytemplate.pt`` template should be used to turn the
+ dictionary returned by the view into a response.
``templates/mytemplate.pt`` is a *relative* path: it names the
``mytemplate.pt`` file which lives in the ``templates``
subdirectory of the directory in which this ``configure.zcml``