diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-02 18:56:56 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-02 18:56:56 -0400 |
| commit | 96188ac4b74cb1e67cb95afdb9519ecd8934d688 (patch) | |
| tree | 66bb56b03f2df802dd0836d017a59f993bcf86c8 /docs/glossary.rst | |
| parent | af2893269f563b856da06d4f90ae8b324ad2cadb (diff) | |
| download | pyramid-96188ac4b74cb1e67cb95afdb9519ecd8934d688.tar.gz pyramid-96188ac4b74cb1e67cb95afdb9519ecd8934d688.tar.bz2 pyramid-96188ac4b74cb1e67cb95afdb9519ecd8934d688.zip | |
rearrange the fix
Diffstat (limited to 'docs/glossary.rst')
| -rw-r--r-- | docs/glossary.rst | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst index 398f945a4..406b81778 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -505,15 +505,20 @@ Glossary available as its ``__parent__`` attribute. root factory - The "root factory" of a :app:`Pyramid` application is called - on every request sent to the application. The root factory - returns the traversal root of an application. It is - conventionally named ``get_root``. An application may supply a - root factory to :app:`Pyramid` during the construction of a - :term:`Configurator`. If a root factory is not supplied, the - application uses a default root object. Use of the default root - object is useful in application which use :term:`URL dispatch` for - all URL-to-view code mappings. + The "root factory" of a :app:`Pyramid` application is called on every + request sent to the application. The root factory returns the traversal + root of an application. It is conventionally named ``get_root``. An + application may supply a root factory to :app:`Pyramid` during the + construction of a :term:`Configurator`. If a root factory is not + supplied, the application creates a default root object using the + :term:`default root factory`. + + default root factory + If an application does not register a :term:`root factory` at Pyramid + configuration time, a *default* root factory is used to created the + default root object. Use of the default root object is useful in + application which use :term:`URL dispatch` for all URL-to-view code + mappings, and does not (knowingly) use traversal otherwise. SQLAlchemy `SQLAlchemy <http://www.sqlalchemy.org/>`_ is an object |
