Fixed #26365 -- Added a system check to ensure "string_is_invalid" is a string.

This commit is contained in:
Vincenzo Pandolfo 2016-03-18 12:48:14 +00:00 committed by Tim Graham
parent efa9539787
commit abf07355aa
3 changed files with 79 additions and 2 deletions

View file

@ -584,6 +584,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.
* **templates.E002**: ``string_if_invalid`` in :setting:`TEMPLATES`
:setting:`OPTIONS <TEMPLATES-OPTIONS>` must be a string but got: ``{value}``
(``{type}``).
Caches
------