improve TEMPLATE_AUTO_RELOAD docs
This commit is contained in:
parent
f88765d504
commit
76f3d6b45e
2 changed files with 7 additions and 9 deletions
|
|
@ -182,12 +182,11 @@ The following configuration values are used internally by Flask:
|
|||
if they are not requested by an
|
||||
XMLHttpRequest object (controlled by
|
||||
the ``X-Requested-With`` header)
|
||||
``TEMPLATES_AUTO_RELOAD`` If this is set to `True` every time a template
|
||||
is requested Flask checks if the template was
|
||||
modified and if yes, it will reload the
|
||||
template. By default the value is ``None``
|
||||
which means that Flask checks template
|
||||
sources only in debug mode.
|
||||
``TEMPLATES_AUTO_RELOAD`` Whether to check for modifications of
|
||||
the template source and reload it
|
||||
automatically. By default the value is
|
||||
`None` which means that Flask checks
|
||||
original file only in debug mode.
|
||||
``EXPLAIN_TEMPLATE_LOADING`` If this is enabled then every attempt to
|
||||
load a template will write an info
|
||||
message to the logger explaining the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue