diff options
| author | Carlos de la Guardia <cguardia@yahoo.com> | 2010-03-11 01:23:10 +0000 |
|---|---|---|
| committer | Carlos de la Guardia <cguardia@yahoo.com> | 2010-03-11 01:23:10 +0000 |
| commit | fc7e36bcb3f30896e636efd7c48a9e92a5009c88 (patch) | |
| tree | b5540bca7eb0a26034a2a13b9fd6e176a0871a76 /docs/narr | |
| parent | 555d4daffaa9dc59ea60474825740e0e44f9e65b (diff) | |
| download | pyramid-fc7e36bcb3f30896e636efd7c48a9e92a5009c88.tar.gz pyramid-fc7e36bcb3f30896e636efd7c48a9e92a5009c88.tar.bz2 pyramid-fc7e36bcb3f30896e636efd7c48a9e92a5009c88.zip | |
more trivial fixes
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/hybrid.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/narr/hybrid.rst b/docs/narr/hybrid.rst index fc51feb1c..dacb8c0f2 100644 --- a/docs/narr/hybrid.rst +++ b/docs/narr/hybrid.rst @@ -127,7 +127,7 @@ application and a hybrid application: ``PATH_INFO`` string, but a portion of the URL determined by a matching pattern in the matched route configuration's path. -- In a purely traversal based applications, view configurations which +- In a purely traversal based application, view configurations which do not mention a ``route_name`` argument are considered during :term:`view lookup`; in a hybrid application, when a route is matched, only view configurations which mention that route's name as @@ -183,9 +183,9 @@ match is straightforward. When a route is matched: .. note:: - Root factories related to a route were explained previously in - within :ref:`route_factories`. Both the global root factory and - default root factory were explained previously within + Root factories related to a route were explained previously within + :ref:`route_factories`. Both the global root factory and default + root factory were explained previously within :ref:`the_object_graph`. Using ``*traverse`` In a Route Path @@ -233,7 +233,8 @@ 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 looks like so in a module named ``routes.py``: +created a root factory that looks like so in a module named +``routes.py``: .. code-block:: python :linenos: |
