diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-19 22:28:50 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-19 22:28:50 -0500 |
| commit | 614f00c88733b5248922e2b610c96f7c8c3ff57c (patch) | |
| tree | c178e586f021abe0aca3975ec44f328fd7ccd806 /docs/tutorials/wiki/basiclayout.rst | |
| parent | ff3811e4a776f096869d860309d4cff04dcb99ba (diff) | |
| download | pyramid-614f00c88733b5248922e2b610c96f7c8c3ff57c.tar.gz pyramid-614f00c88733b5248922e2b610c96f7c8c3ff57c.tar.bz2 pyramid-614f00c88733b5248922e2b610c96f7c8c3ff57c.zip | |
- Remove calls to config.begin()/config.end() from startup config code in
tutorials and paster templates (no longer required).
Diffstat (limited to 'docs/tutorials/wiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki/basiclayout.rst | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst index c05a53831..a94a1632d 100644 --- a/docs/tutorials/wiki/basiclayout.rst +++ b/docs/tutorials/wiki/basiclayout.rst @@ -48,14 +48,11 @@ entry point happens to be the ``app`` function within the file named factory` and the settings keywords parsed by PasteDeploy. The root factory is named ``get_root``. -#. *Lines 16-18*. Begin configuration using the ``begin`` method of - the :meth:`pyramid.configuration.Configurator` class, load the +#. *Line 16*. Load the ``configure.zcml`` file from our package using the - :meth:`pyramid.configuration.Configurator.load_zcml` method, and - end configuration using the - :meth:`pyramid.configuration.Configurator.end` method. + :meth:`pyramid.configuration.Configurator.load_zcml` method. -#. *Line 19*. Use the +#. *Line 17*. Use the :meth:`pyramid.configuration.Configurator.make_wsgi_app` method to return a :term:`WSGI` application. |
