diff options
| author | Karl O. Pinc <kop@meme.com> | 2018-11-18 18:52:39 -0600 |
|---|---|---|
| committer | Karl O. Pinc <kop@meme.com> | 2018-11-18 18:52:39 -0600 |
| commit | 6cb6e15090e527250d41df81dc4a56c56114b3a3 (patch) | |
| tree | 354fb1f17804af016466a5689876d7b17d5e65ad /docs/narr/project.rst | |
| parent | 7741aaa13bb266f5822b742bb5fda5cbc41d77c9 (diff) | |
| download | pyramid-6cb6e15090e527250d41df81dc4a56c56114b3a3.tar.gz pyramid-6cb6e15090e527250d41df81dc4a56c56114b3a3.tar.bz2 pyramid-6cb6e15090e527250d41df81dc4a56c56114b3a3.zip | |
Revert "mmerickel noted that add-ons may not get their settings from .ini files"
This reverts commit 9ef620f65721aa8474e8bde2e6b13673ed980f73.
Diffstat (limited to 'docs/narr/project.rst')
| -rw-r--r-- | docs/narr/project.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 11302fcf9..218545193 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -867,12 +867,12 @@ also informs Python that the directory which contains it is a *package*. Within ``main`` further application configuration is performed. Line 7 opens a context manager with an instance of a :term:`Configurator`. - This applies lines in the ``.ini`` file. + This applies lines in the ``.ini`` file to ``config``, the configuration returned by :term:`Configurator`. Only those lines in :ref:`[app:main] <app_main>` which are understood by :app:`Pyramid` are applied, such as ``pyramid.includes = pyramid_debugtoolbar``. - Line 8 adds support for Jinja2 templating bindings. - Settings are applied to the configuration allowing us to specify renderers with the ``.jinja2`` extension. - These settings are add-on dependent and may come from the ``.ini`` file or from elsewhere. + Line 8 adds support for Jinja2 templating bindings, allowing us to specify renderers with the ``.jinja2`` extension. + The expectation is that the add-on applies what is relevant in the ``.ini`` file at this point. + Consult your add-on's documentation. Line 9 includes the ``routes.py`` module. |
