From 5bc5ddd8b5d787c5e744efead184d46c55d03687 Mon Sep 17 00:00:00 2001 From: Preston Timmons Date: Tue, 3 Feb 2015 15:35:55 -0600 Subject: Fixed #24235 -- Removed is_usable attribute from template loaders. --- docs/releases/1.9.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 0ff65dec7f..eee63c6f6d 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -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 ~~~~~~~~~~~~~ -- cgit v1.3