From 6cb6e15090e527250d41df81dc4a56c56114b3a3 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sun, 18 Nov 2018 18:52:39 -0600 Subject: Revert "mmerickel noted that add-ons may not get their settings from .ini files" This reverts commit 9ef620f65721aa8474e8bde2e6b13673ed980f73. --- docs/narr/project.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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] ` 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. -- cgit v1.2.3