diff options
| author | Michael Merickel <michael@merickel.org> | 2011-07-30 01:50:24 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2011-07-30 01:50:24 -0600 |
| commit | 875ded31e7fdd0c85d1c91458248581b9dd729d7 (patch) | |
| tree | 2063e301734ef5a79e308f67a126df48546acf07 /docs/narr/templates.rst | |
| parent | e1b25974a4dcc9eb9ceab70ec2276043de775f82 (diff) | |
| download | pyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.tar.gz pyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.tar.bz2 pyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.zip | |
Updated all of the docs to reflect the new pyramid.* settings prefix.
Diffstat (limited to 'docs/narr/templates.rst')
| -rw-r--r-- | docs/narr/templates.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index af7257466..0f46f6422 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -632,15 +632,15 @@ variable set to ``1``, For example: $ PYRAMID_DEBUG_TEMPLATES=1 bin/paster serve myproject.ini To use a setting in the application ``.ini`` file for the same -purpose, set the ``debug_templates`` key to ``true`` within the -application's configuration section, e.g.: +purpose, set the ``pyramid.debug_templates`` key to ``true`` within +the application's configuration section, e.g.: .. code-block:: ini :linenos: [app:MyProject] use = egg:MyProject#app - debug_templates = true + pyramid.debug_templates = true With template debugging off, a :exc:`NameError` exception resulting from rendering a template with an undefined variable @@ -677,7 +677,7 @@ displaying the arguments passed to the template itself. .. note:: - Turning on ``debug_templates`` has the same effect as using the + Turning on ``pyramid.debug_templates`` has the same effect as using the Chameleon environment variable ``CHAMELEON_DEBUG``. See `Chameleon Environment Variables <http://chameleon.repoze.org/docs/latest/config.html#environment-variables>`_ @@ -793,7 +793,7 @@ variable set to ``1``, For example: $ PYRAMID_RELOAD_TEMPLATES=1 bin/paster serve myproject.ini To use a setting in the application ``.ini`` file for the same -purpose, set the ``reload_templates`` key to ``true`` within the +purpose, set the ``pyramid.reload_templates`` key to ``true`` within the application's configuration section, e.g.: .. code-block:: ini @@ -801,7 +801,7 @@ application's configuration section, e.g.: [app:main] use = egg:MyProject#app - reload_templates = true + pyramid.reload_templates = true .. index:: single: template system bindings |
