diff options
| author | Preston Timmons <prestontimmons@gmail.com> | 2015-02-03 15:35:55 -0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-04 07:47:28 -0500 |
| commit | 5bc5ddd8b5d787c5e744efead184d46c55d03687 (patch) | |
| tree | 3e5e5e092944f98eecb1d987721d28ad0dcc5c04 /docs | |
| parent | 7d363ed43247a80d2b764723e1bf6e0e6da4e82f (diff) | |
Fixed #24235 -- Removed is_usable attribute from template loaders.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.9.txt | 10 |
1 files changed, 10 insertions, 0 deletions
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 ~~~~~~~~~~~~~ |
