diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/project.rst | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index b227c5d3a..a445c0e1e 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -581,10 +581,6 @@ exists, and its value is ``true``, :term:`Chameleon` and :term:`Mako` template changes will not require an application restart to be detected. See :ref:`reload_templates_section` for more information. -.. warning:: The ``reload_templates`` option should be turned off for - production applications, as template rendering is slowed when it is - turned on. - The ``debug_templates`` setting in the ``[app:MyProject]`` section is a :app:`Pyramid` -specific setting which is passed into the framework. If it exists, and its value is ``true``, :term:`Chameleon` template exceptions will @@ -592,9 +588,9 @@ contained more detailed and helpful information about the error than when this value is ``false``. See :ref:`debug_templates_section` for more information. -.. warning:: The ``debug_templates`` option should be turned off for - production applications, as template rendering is slowed when it is - turned on. +.. warning:: The ``reload_templates`` and ``debug_templates`` options should + be turned off for production applications, as template rendering is slowed + when either is turned on. Various other settings may exist in this section having to do with debugging or influencing runtime behavior of a :app:`Pyramid` application. See |
