Fixed #33544 -- Expanded the TEMPLATES section of the Deployment checklist.

Clarified that the cached template loader is enabled by default when
DEBUG = False.
This commit is contained in:
Samuel Hartmann 2022-03-22 11:26:05 +01:00 committed by Carlton Gibson
parent 9fed515a25
commit 5cc9464e4d
1 changed files with 4 additions and 2 deletions

View File

@ -223,8 +223,10 @@ This helps a lot on virtualized hosts with limited network performance.
-------------------- --------------------
Enabling the cached template loader often improves performance drastically, as Enabling the cached template loader often improves performance drastically, as
it avoids compiling each template every time it needs to be rendered. See the it avoids compiling each template every time it needs to be rendered. When
:ref:`template loaders docs <template-loaders>` for more information. :setting:`DEBUG = False <DEBUG>`, the cached template loader is enabled
automatically. See :class:`django.template.loaders.cached.Loader` for more
information.
Error reporting Error reporting
=============== ===============