mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #24235 -- Removed is_usable attribute from template loaders.
This commit is contained in:
committed by
Tim Graham
parent
7d363ed432
commit
5bc5ddd8b5
@@ -182,6 +182,16 @@ Default settings that were tuples are now lists
|
||||
The default settings in ``django.conf.global_settings`` were a combination of
|
||||
lists and tuples. All settings that were formerly tuples are now lists.
|
||||
|
||||
``is_usable`` attribute on template loaders is removed
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Django template loaders previously required an ``is_usable`` attribute to be
|
||||
defined. If a loader was configured in the template settings and this attribute
|
||||
was ``False``, the loader would be silently ignored. In practice, this was only
|
||||
used by the egg loader to detect if setuptools was installed. The ``is_usable``
|
||||
attribute is now removed and the egg loader instead fails at runtime if
|
||||
setuptools is not installed.
|
||||
|
||||
Miscellaneous
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user