mirror of
https://github.com/Hopiu/django.git
synced 2026-03-23 01:10:30 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| test_model_field_deprecation.py | ||
| test_security.py | ||
| test_templates.py | ||
| tests.py | ||
| tests_1_8_compatibility.py | ||