mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #35233 -- Moved template engine system checks to backend methods.
Thanks Adam Johnson for reviews.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b98271a6e4
commit
d658a3162f
@@ -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 <TEMPLATES-OPTIONS>` must be a string but got: ``{value}``
|
||||
(``{type}``).
|
||||
|
||||
Reference in New Issue
Block a user