mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
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.
This commit is contained in:
committed by
Tim Graham
parent
b49e3ab92c
commit
24620d71f2
@@ -11,3 +11,6 @@ Bugfixes
|
||||
|
||||
* Added the ability to serialize values from the newly added
|
||||
:class:`~django.db.models.UUIDField` (:ticket:`25019`).
|
||||
|
||||
* Added a system check warning if the old ``TEMPLATE_*`` settings are defined
|
||||
in addition to the new ``TEMPLATES`` setting.
|
||||
|
||||
Reference in New Issue
Block a user