summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-11-24 22:56:07 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-11-24 22:56:07 -0700
commit5a6b033b6914462fbcf1f70889d2e9a6897e01c5 (patch)
tree7de95df4b09ca13defdb14c85c22554b855243cc /docs
parente6b6a600ffa7d04e910887311832681c000406f5 (diff)
downloadpyramid-5a6b033b6914462fbcf1f70889d2e9a6897e01c5.tar.gz
pyramid-5a6b033b6914462fbcf1f70889d2e9a6897e01c5.tar.bz2
pyramid-5a6b033b6914462fbcf1f70889d2e9a6897e01c5.zip
Clarify paragraph describing custom root factory
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/hybrid.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/narr/hybrid.rst b/docs/narr/hybrid.rst
index 6fa6037c1..d5d613916 100644
--- a/docs/narr/hybrid.rst
+++ b/docs/narr/hybrid.rst
@@ -215,11 +215,12 @@ Once :term:`traversal` has found a :term:`context`,
:term:`view lookup` will be invoked in almost exactly the same way it
would have been invoked in a "pure" traversal-based application.
-The *default* :term:`root factory` cannot be traversed: it has no
-useful ``__getitem__`` method. So we'll need to associate this route
-configuration with a non-default root factory in order to create a
-useful hybrid application. To that end, let's imagine that we've
-created a root factory that looks like so in a module named
+Let's assume there is no *global* :term:`root factory` configured in
+this application. The *default* :term:`root factory` cannot be traversed:
+it has no useful ``__getitem__`` method. So we'll need to associate
+this route configuration with a custom root factory in order to
+create a useful hybrid application. To that end, let's imagine that
+we've created a root factory that looks like so in a module named
``routes.py``:
.. code-block:: python