diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-10-30 20:06:22 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-10-30 20:06:22 +0000 |
| commit | 27862b83712010e4d3f843f74111df260188d321 (patch) | |
| tree | 4126f19a128b0e00cddc0681f793adafd7f7cc9e /docs/tutorials/bfgwiki/basiclayout.rst | |
| parent | 8d3a5385e4f797999bf68fbb7ca1c592b32cb550 (diff) | |
| download | pyramid-27862b83712010e4d3f843f74111df260188d321.tar.gz pyramid-27862b83712010e4d3f843f74111df260188d321.tar.bz2 pyramid-27862b83712010e4d3f843f74111df260188d321.zip | |
Update documentation after root factory changes.
Diffstat (limited to 'docs/tutorials/bfgwiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki/basiclayout.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/tutorials/bfgwiki/basiclayout.rst b/docs/tutorials/bfgwiki/basiclayout.rst index 5df7f2487..59545e7cc 100644 --- a/docs/tutorials/bfgwiki/basiclayout.rst +++ b/docs/tutorials/bfgwiki/basiclayout.rst @@ -103,11 +103,13 @@ be in ``run.py`` and its ``app`` function: file's ``[app:main]`` section. This will be a URI (something like ``file:///path/to/Data.fs``). -#. Line *16*. We create a :term:`root factory` using the - ``PersistentApplicationFinder`` helper class, passing it the - ZODB URI and our appmaker. +#. Line *16*. We create a "finder" object using the + ``PersistentApplicationFinder`` helper class, passing it the ZODB + URI and our appmaker. -#. Line *17*. We use the ``repoze.bfg.router.make_app`` to return a +#. *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 keywords parsed by PasteDeploy. |
