瀏覽代碼

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

Clarified that the cached template loader is enabled by default when
DEBUG = False.
Samuel Hartmann 3 年之前
父節點
當前提交
5cc9464e4d
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      docs/howto/deployment/checklist.txt

+ 4 - 2
docs/howto/deployment/checklist.txt

@@ -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
-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
 ===============