diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-30 04:30:57 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-30 04:30:57 -0400 |
| commit | d8c76559cf0d8775aa2c46d62b94100528fb8a7f (patch) | |
| tree | 9af038c2dadf42226c11fc1c9531011af64fa99d /docs/narr/templates.rst | |
| parent | 6aafc53c0ee74c2a568fb4d36f5eaab968126088 (diff) | |
| parent | 875ded31e7fdd0c85d1c91458248581b9dd729d7 (diff) | |
| download | pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.tar.gz pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.tar.bz2 pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.zip | |
Merge branch 'feature.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 |
