summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSergei Maertens <sergei@maykinmedia.nl>2015-06-04 17:55:58 +0200
committerTim Graham <timograham@gmail.com>2015-06-06 19:40:26 -0400
commiteaf4d8c0d85056c3481986fe092d5a8786bc4f26 (patch)
treef85d8103149bb95079e35909d14ee9717a7b64ea /docs
parent1884bf8e8e9fb3f9f44a9ec216aca96f63974268 (diff)
Fixed #24922 -- Added system check for templates setting
If `'loaders'` is present in the `TEMPLATES` options together with `APP_DIRS` set to `True`, the template engine raises an exception. This conflict is now detected by the system check templates.E001.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index eb6fa688a2..d536560f0a 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -491,3 +491,13 @@ If you're using MySQL, the following checks will be performed:
* **mysql.E001**: MySQL does not allow unique ``CharField``\s to have a
``max_length`` > 255.
+
+Templates
+---------
+
+The following checks verify that your :setting:`TEMPLATES` setting is correctly
+configured:
+
+* **templates.E001**: You have ``'APP_DIRS': True`` in your
+ :setting:`TEMPLATES` but also specify ``'loaders'`` in ``OPTIONS``. Either
+ remove ``APP_DIRS`` or remove the ``'loaders'`` option.