django1/django/core/checks
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
..
compatibility Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined. 2015-07-13 17:50:22 -04:00
security Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
__init__.py Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined. 2015-07-13 17:50:22 -04:00
messages.py Fixed #24693 -- Added label and label_lower property to Model._meta 2015-05-02 16:58:18 +02: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 #24922 -- Added system check for templates setting 2015-06-06 19:40:26 -04:00
templates.py Fixed #24922 -- Added system check for templates setting 2015-06-06 19:40:26 -04:00