Skip to content

Commit 5cc9464

Browse files
Sammeeeycarltongibson
authored andcommitted
Fixed #33544 -- Expanded the TEMPLATES section of the Deployment checklist.
Clarified that the cached template loader is enabled by default when DEBUG = False.
1 parent 9fed515 commit 5cc9464

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/howto/deployment/checklist.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,10 @@ This helps a lot on virtualized hosts with limited network performance.
223223
--------------------
224224

225225
Enabling the cached template loader often improves performance drastically, as
226-
it avoids compiling each template every time it needs to be rendered. See the
227-
:ref:`template loaders docs <template-loaders>` for more information.
226+
it avoids compiling each template every time it needs to be rendered. When
227+
:setting:`DEBUG = False <DEBUG>`, the cached template loader is enabled
228+
automatically. See :class:`django.template.loaders.cached.Loader` for more
229+
information.
228230

229231
Error reporting
230232
===============

0 commit comments

Comments
 (0)