diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-09 05:26:41 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-09 05:26:41 +0000 |
| commit | 20ef6a98e7abaeb8c3ee1133eff39ab90a286df9 (patch) | |
| tree | b36091069a879c50bc5185f8abe116d572d7c84a /docs/tutorials/bfgwiki/basiclayout.rst | |
| parent | 2bec99e31b8b22e1f5af4ebcc4a8d544be70c5e0 (diff) | |
| download | pyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.tar.gz pyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.tar.bz2 pyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.zip | |
Excise make_app from docs.
Diffstat (limited to 'docs/tutorials/bfgwiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki/basiclayout.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/tutorials/bfgwiki/basiclayout.rst b/docs/tutorials/bfgwiki/basiclayout.rst index 738972fd1..e2f8ac00e 100644 --- a/docs/tutorials/bfgwiki/basiclayout.rst +++ b/docs/tutorials/bfgwiki/basiclayout.rst @@ -109,8 +109,9 @@ be in ``run.py`` and its ``app`` function: #. *Lines 17 - 18*. We create a :term:`root factory` using the finder. -#. Line *19*. We use the ``repoze.bfg.router.make_app`` to return a - :term:`WSGI` application. The ``make_app`` function takes the root - factory (``get_root``), the *package* representing our application, - and the settings keywords parsed by PasteDeploy. +#. Line *19*. We construct a :term:`Configurator` with a + :term:`root_factory` and the settings keywords parsed by + PasteDeploy. The root factory is named ``get_root``. We then use + the ``make_wsgi_app`` method of the :term:`Configurator` to return + a :term:`WSGI` application. |
