From 7eefdbf7ab9f5bafe5baae2b877d93efc90e3044 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 10 Nov 2014 21:40:26 +0100 Subject: Cleaned up the django.template namespace. Since this package is going to hold both the implementation of the Django Template Language and the infrastructure for Multiple Template Engines, it should be untied from the DTL as much as possible within our backwards-compatibility policy. Only public APIs (i.e. APIs mentioned in the documentation) were left. --- docs/releases/1.8.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 6a164821b6..a4bc14332c 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -832,6 +832,14 @@ Django previously closed database connections between each test within a ``TestCase`` within a transaction. If some of your tests relied on the old behavior, you should have them inherit from ``TransactionTestCase`` instead. +Cleanup of the ``django.template`` namespace +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you've been relying on private APIs exposed in the ``django.template`` +module, you may have to import them from ``django.template.base`` instead. + +Also ``django.template.base.compile_string()`` was removed. + Miscellaneous ~~~~~~~~~~~~~ @@ -906,8 +914,6 @@ Miscellaneous delete a key if ``set()`` fails. This is necessary to ensure the ``cache_db`` session store always fetches the most current session data. -* Private API ``django.template.compile_string`` was removed. - * Private APIs ``override_template_loaders`` and ``override_with_test_loader`` in ``django.test.utils`` were removed. Override ``TEMPLATE_LOADERS`` with ``override_settings`` instead. -- cgit v1.3