summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Everitt <paul@agendaless.com>2008-07-25 14:28:23 +0000
committerPaul Everitt <paul@agendaless.com>2008-07-25 14:28:23 +0000
commit3bb4cdcbd5c0a5ddb994d1f12f1f38066fc49cba (patch)
tree48ac6ed6059c94e98bfe2c2f09f5910d6b775dd0 /docs
parentca53b25e6c27a613440a433aded6bfbcd9df4098 (diff)
downloadpyramid-3bb4cdcbd5c0a5ddb994d1f12f1f38066fc49cba.tar.gz
pyramid-3bb4cdcbd5c0a5ddb994d1f12f1f38066fc49cba.tar.bz2
pyramid-3bb4cdcbd5c0a5ddb994d1f12f1f38066fc49cba.zip
Remove reference to view factory
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