summaryrefslogtreecommitdiff
path: root/docs/narr/project.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr/project.rst')
-rw-r--r--docs/narr/project.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst
index 776f6f9a8..80fe6beac 100644
--- a/docs/narr/project.rst
+++ b/docs/narr/project.rst
@@ -692,11 +692,14 @@ without the PasteDeploy configuration file:
.. literalinclude:: MyProject/myproject/run.py
:linenos:
-#. Line 1 imports the ``make_app`` functions from
- :mod:`repoze.bfg.router` that we use later.
+#. Line 1 imports the ``Configurator`` class from
+ :mod:`repoze.bfg.configuration` that we use later.
-#. Lines 3-10 define a function that returns a :mod:`repoze.bfg` Router
- application from :ref:`router_module` . This is meant to be called
+#. Line 2 imports the ``get_root`` function from
+ :mod:`myproject.models` that we use later.
+
+#. Lines 4-11 define a function that returns a :mod:`repoze.bfg`
+ WSGI application. This function is meant to be called
by the :term:`PasteDeploy` framework as a result of running
``paster serve``.