summaryrefslogtreecommitdiff
path: root/docs/narr/urldispatch.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-09 05:26:41 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-09 05:26:41 +0000
commit20ef6a98e7abaeb8c3ee1133eff39ab90a286df9 (patch)
treeb36091069a879c50bc5185f8abe116d572d7c84a /docs/narr/urldispatch.rst
parent2bec99e31b8b22e1f5af4ebcc4a8d544be70c5e0 (diff)
downloadpyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.tar.gz
pyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.tar.bz2
pyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.zip
Excise make_app from docs.
Diffstat (limited to 'docs/narr/urldispatch.rst')
-rw-r--r--docs/narr/urldispatch.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst
index 33754e05b..ad0388284 100644
--- a/docs/narr/urldispatch.rst
+++ b/docs/narr/urldispatch.rst
@@ -41,13 +41,13 @@ before traversal has a chance to find it first. If a route matches, a
:term:`context` is generated and :mod:`repoze.bfg` will call the
:term:`view` specified with the context and the request. If no route
matches, :mod:`repoze.bfg` will fail over to calling the :term:`root
-factory` callable passed to the application in it's ``make_app``
-function (usually a traversal function).
+factory` callable passed to the :term:`Configurator` for the
+application (usually a traversal function).
A root factory is not required for purely URL-dispatch-based apps: if
-the root factory callable is passed as ``None`` to the ``make_app``
-function, :mod:`repoze.bfg` will return a ``NotFound`` error to the user's
-browser when no routes match.
+the root factory callable is passed as ``None`` to the
+:term:`Configurator`, :mod:`repoze.bfg` will return a ``NotFound``
+error to the user's browser when no routes match.
.. note:: See :ref:`modelspy_project_section` for an example of a
simple root factory callable that will use traversal.
@@ -497,9 +497,9 @@ class that accepts a request in its ``__init__``.
type.
If no route matches in the above configuration, :mod:`repoze.bfg` will
-call the "fallback" :term:`root factory` callable provided to it
-during ``make_app`. If the "fallback" root factory is None, a
-``NotFound`` error will be raised when no route matches.
+call the "fallback" :term:`root factory` callable provided to the
+:term:`Configurator` constructor. If the "fallback" root factory is
+None, a ``NotFound`` error will be raised when no route matches.
.. note:: See :ref:`using_model_interfaces` for more information about
how views are found when interfaces are attached to a