django1/django/core/checks
Daniel Roseman 4cc0baa98e [1.8.x] 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.

Backport of 24620d71f2 from master
2015-07-13 17:55:19 -04:00
..
compatibility [1.8.x] Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined. 2015-07-13 17:55:19 -04:00
security [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
__init__.py [1.8.x] Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined. 2015-07-13 17:55:19 -04:00
messages.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
model_checks.py Fixed #23615 -- Validate that a Model instance's "check" attribute is a method. 2014-10-16 23:49:21 +07:00
registry.py Fixed #23750 -- Allowed core.checks.register to be used as a function 2014-11-11 16:29:32 +01:00