summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/traversal.rst2
-rw-r--r--docs/tutorials/lxmlgraph/background.rst7
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/narr/traversal.rst b/docs/narr/traversal.rst
index 8eef4a867..df708f973 100644
--- a/docs/narr/traversal.rst
+++ b/docs/narr/traversal.rst
@@ -166,7 +166,7 @@ code to execute:
8. Armed with the context, the view name, and the subpath, the
router performs a view lookup. It attemtps to look up a view
from the :mod:`repoze.bfg` application registry using the view
- name and the context. If a view factory is found, it is called
+ name and the context. If a view function is found, it is called
with the context and the request. It returns a response, which
is fed back upstream. If a view is not found, a generic WSGI
``NotFound`` application is constructed.
diff --git a/docs/tutorials/lxmlgraph/background.rst b/docs/tutorials/lxmlgraph/background.rst
index 3413e0a9d..e4fdc5034 100644
--- a/docs/tutorials/lxmlgraph/background.rst
+++ b/docs/tutorials/lxmlgraph/background.rst
@@ -100,9 +100,10 @@ investigations:
#. **Multiple views**. Instead of just having a single default view
on a node, I can allow other view names, all pointing at the same
- factory and XSLT. I simple grab that name and pass it in as a
- paramter to the XSLT, which will run a different rule for
- rendering.
+ view function and XSLT. I simple grab that name and pass it in as
+ a paramter to the XSLT, which will run a different rule for
+ rendering. Adding a view would no longer required editing ZCML and
+ adding a function.
#. **Forms**. To edit data in the model, I need to render a form,
then handle post data on the way back in. For the former, it's