From d658a3162fbeb68d148d1b2fcf4da4fe1437eddb Mon Sep 17 00:00:00 2001 From: Giannis Terzopoulos Date: Mon, 18 Mar 2024 14:50:32 +0100 Subject: Fixed #35233 -- Moved template engine system checks to backend methods. Thanks Adam Johnson for reviews. --- docs/ref/checks.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index cf0ab32efa..efc8cf666a 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -575,7 +575,9 @@ 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. + remove ``APP_DIRS`` or remove the ``'loaders'`` option. *This check is + removed in Django 5.1 as system checks may now raise* + ``ImproperlyConfigured`` *instead.* * **templates.E002**: ``string_if_invalid`` in :setting:`TEMPLATES` :setting:`OPTIONS ` must be a string but got: ``{value}`` (``{type}``). -- cgit v1.3