django1/tests/check_framework
Daniel Roseman 24620d71f2 Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined.
Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also
set, which is confusing for users following older tutorials. This change
adds a system check that warns if any of the TEMPLATE_* settings have
changed from their defaults but the TEMPLATES dict is also non-empty.

Removed the TEMPLATE_DIRS from the test settings file; this was marked
for removal in 1.10 but no tests fail if it is removed now.
2015-07-13 17:50:22 -04:00
..
__init__.py Fixed #16905 -- Added extensible checks (nee validation) framework 2014-01-20 10:45:21 +08:00
models.py Fixed #23765 -- Removed BooleanField default check which often yielded false positives. 2014-11-13 20:12:29 +01:00
test_model_field_deprecation.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_security.py Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
test_templates.py Fixed tests from refs #24922 when run in reverse. 2015-06-08 08:15:41 -04:00
tests.py Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
tests_1_8_compatibility.py Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined. 2015-07-13 17:50:22 -04:00