diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-27 15:32:14 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-27 15:32:14 +0000 |
| commit | e4e3aa3449d3ae390402a9cead205626816a2938 (patch) | |
| tree | cdab3582902124055fedfb3d0320157c983638fe /docs/tutorials/bfgwiki/basiclayout.rst | |
| parent | 878328bdfc3b5ac832f1728e4a0461e3129cf8d4 (diff) | |
| download | pyramid-e4e3aa3449d3ae390402a9cead205626816a2938.tar.gz pyramid-e4e3aa3449d3ae390402a9cead205626816a2938.tar.bz2 pyramid-e4e3aa3449d3ae390402a9cead205626816a2938.zip | |
Rendering cleanups.
Diffstat (limited to 'docs/tutorials/bfgwiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki/basiclayout.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/bfgwiki/basiclayout.rst b/docs/tutorials/bfgwiki/basiclayout.rst index 84f6e493e..a0fa2b924 100644 --- a/docs/tutorials/bfgwiki/basiclayout.rst +++ b/docs/tutorials/bfgwiki/basiclayout.rst @@ -109,7 +109,7 @@ function within the file named ``run.py``: dictionary passed to our ``app`` function. This will be a URI (something like ``file:///path/to/Data.fs``). -#. Line *14*. We create a "finder" object using the +#. *Line 14*. We create a "finder" object using the :class:`repoze.zodbconn.finder.PersistentApplicationFinder` helper class, passing it the ZODB URI and the "appmaker" we've imported from ``models.py``. @@ -117,18 +117,18 @@ function within the file named ``run.py``: #. *Lines 15 - 16*. We create a :term:`root factory` which uses the finder to return a ZODB root object. -#. Line *17*. We construct a :term:`Configurator` with a :term:`root +#. *Line 17*. We construct a :term:`Configurator` with a :term:`root factory` and the settings keywords parsed by PasteDeploy. The root factory is named ``get_root``. -# *Lines 18-20*. Begin configuration using the +#. *Lines 18-20*. Begin configuration using the :meth:`repoze.bfg.configuration.Configurator.begin` method, load the ``configure.zcml`` file from our package using the :meth:`repoze.bfg.configuration.Configurator.load_zcml` method, and end configuration using the :meth:`repoze.bfg.configuration.Configurator.end` method. -# *Line 21*. Use the +#. *Line 21*. Use the :meth:`repoze.bfg.configuration.Configurator.make_wsgi_app` method to return a :term:`WSGI` application. |
