From 1851dcf377d05a5d167cf482674e4c4a4e2502a5 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 15 Nov 2014 19:55:53 +0100 Subject: Deprecated function-based loaders. --- docs/internals/deprecation.txt | 2 ++ docs/releases/1.8.txt | 7 +++++++ 2 files changed, 9 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 666ff1f492..7247e4a2aa 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -85,6 +85,8 @@ details on these changes. * The backwards compatibility alias ``django.template.loader.BaseLoader`` will be removed. +* Support for function-based template loaders will be removed. + .. _deprecation-removed-in-1.9: 1.9 diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 73c0e7a040..d55ed1820d 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -1040,6 +1040,13 @@ class decorators. As a consequence, when overriding ``setUpClass()`` or ``django.template.loaders.base.Loader``. If you've written a custom template loader that inherits ``BaseLoader``, you must inherit ``Loader`` instead. +Function-based template loaders +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +In addition to the documented class-based API for custom template loaders, +Django still supported to some extent an earlier function-based API. This +private API wasn't maintained or tested. Now it's formally deprecated. + ``django.test.utils.TestTemplateLoader`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3