diff options
| author | Karl O. Pinc <kop@meme.com> | 2013-10-07 22:08:16 -0500 |
|---|---|---|
| committer | Karl O. Pinc <kop@meme.com> | 2013-10-07 22:08:16 -0500 |
| commit | a274ed67afab341fe54c0a57328e0e810a7c90dc (patch) | |
| tree | feeb80189b077285909926e48daa15aa9f251f71 /docs/narr/project.rst | |
| parent | 6461f60320106b5114bb7f226959c7d7f2995ec2 (diff) | |
| parent | cba6a8d33f674a1f873851a80358972184544d71 (diff) | |
| download | pyramid-a274ed67afab341fe54c0a57328e0e810a7c90dc.tar.gz pyramid-a274ed67afab341fe54c0a57328e0e810a7c90dc.tar.bz2 pyramid-a274ed67afab341fe54c0a57328e0e810a7c90dc.zip | |
Merge branch 'master' into doc_interactive_dev
Diffstat (limited to 'docs/narr/project.rst')
| -rw-r--r-- | docs/narr/project.rst | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 9451f41b1..0de46c806 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -886,15 +886,16 @@ returns the HTML in a :term:`response`. See :ref:`views_which_use_a_renderer` for more information about how views, renderers, and templates relate and cooperate. -.. note:: Because our ``development.ini`` has a ``pyramid.reload_templates = - true`` directive indicating that templates should be reloaded when - they change, you won't need to restart the application server to - see changes you make to templates. During development, this is - handy. If this directive had been ``false`` (or if the directive - did not exist), you would need to restart the application server - for each template change. For production applications, you should - set your project's ``pyramid.reload_templates`` to ``false`` to increase - the speed at which templates may be rendered. +.. note:: ``development.ini`` has a setting that controls how templates are + reloaded: ``pyramid.reload_templates``. + + - A setting of ``True`` (as in the scaffold ``development.ini``) + automatically reloads changed templates without a server restart. This + is convenient while developing but slows template rendering speed. + + - A setting of ``False`` (the default) requires a server restart to + integrate template changes. Production applications should set + ``pyramid.reload_templates = False``. .. index:: single: static directory |
