diff options
author | Samuel Hartmann <hartmann.samuel@gmx.de> | 2022-03-22 11:26:05 +0100 |
---|---|---|
committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2022-03-22 12:38:19 +0100 |
commit | 280661bf3541529580cc7f9f54998f450a0b17c7 (patch) | |
tree | f6c207017d86635ee0c6884930aafdd969834ec5 | |
parent | c0a34befeadea2f6031e2906b7890b329cc712bf (diff) | |
download | django-280661bf3541529580cc7f9f54998f450a0b17c7.tar.gz |
[4.0.x] Fixed #33544 -- Expanded the TEMPLATES section of the Deployment checklist.
Clarified that the cached template loader is enabled by default when
DEBUG = False.
Backport of 5cc9464e4d8fe2762e462560665fd1f28104bbca from main
-rw-r--r-- | docs/howto/deployment/checklist.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/howto/deployment/checklist.txt b/docs/howto/deployment/checklist.txt index 929f19dbfc..1e0212eddd 100644 --- a/docs/howto/deployment/checklist.txt +++ b/docs/howto/deployment/checklist.txt @@ -207,8 +207,10 @@ This helps a lot on virtualized hosts with limited network performance. -------------------- Enabling the cached template loader often improves performance drastically, as -it avoids compiling each template every time it needs to be rendered. See the -:ref:`template loaders docs <template-loaders>` for more information. +it avoids compiling each template every time it needs to be rendered. When +:setting:`DEBUG = False <DEBUG>`, the cached template loader is enabled +automatically. See :class:`django.template.loaders.cached.Loader` for more +information. Error reporting =============== |