1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #25788 -- Enabled the cached template loader if debug is False.

This commit is contained in:
Tim Graham
2016-09-03 09:06:33 -04:00
committed by GitHub
parent 2ced2f785d
commit 277fe2e8f2
6 changed files with 55 additions and 13 deletions

View File

@@ -471,6 +471,12 @@ Miscellaneous
:class:`~django.core.serializers.json.DjangoJSONEncoder` (renamed in Django
1.0) is removed.
* The :class:`cached template loader <django.template.loaders.cached.Loader>`
is now enabled if :setting:`DEBUG` is ``False`` and
:setting:`OPTIONS['loaders'] <TEMPLATES-OPTIONS>` isn't specified. This could
be backwards-incompatible if you have some :ref:`template tags that aren't
thread safe <template_tag_thread_safety>`.
.. _deprecated-features-1.11:
Features deprecated in 1.11