1
0
mirror of https://github.com/django/django.git synced 2024-11-20 00:14:08 +00:00
django/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
models.py
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_1_8_compatibility.py Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined. 2015-07-13 17:50:22 -04:00
tests.py Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00