From ffc37e2343a93cf6d44247e20cd263b41f931716 Mon Sep 17 00:00:00 2001 From: Curtis Maloney Date: Sat, 19 Oct 2013 09:49:24 +1100 Subject: Fixed #21012 -- New API to access cache backends. Thanks Curtis Malony and Florian Apolloner. Squashed commit of the following: commit 3380495e93f5e81b80a251b03ddb0a80b17685f5 Author: Aymeric Augustin Date: Sat Nov 23 14:18:07 2013 +0100 Looked up the template_fragments cache at runtime. commit 905a74f52b24a198f802520ff06290a94dedc687 Author: Aymeric Augustin Date: Sat Nov 23 14:19:48 2013 +0100 Removed all uses of create_cache. Refactored the cache tests significantly. Made it safe to override the CACHES setting. commit 35e289fe9285feffed3c60657af9279a6a2cfccc Author: Aymeric Augustin Date: Sat Nov 23 12:23:57 2013 +0100 Removed create_cache function. commit 8e274f747a1f1c0c0e6c37873e29067f7fa022e8 Author: Aymeric Augustin Date: Sat Nov 23 12:04:52 2013 +0100 Updated docs to describe a simplified cache backend API. commit ee7eb0f73e6d4699edcf5d357dce715224525cf6 Author: Curtis Maloney Date: Sat Oct 19 09:49:24 2013 +1100 Fixed #21012 -- Thread-local caches, like databases. --- docs/internals/deprecation.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 4080957c77..4c44c70501 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -114,7 +114,7 @@ these changes. no longer appears to be actively maintained & does not work on Python 3. You are advised to install `Pillow`_, which should be used instead. -.. _`Pillow`: https://pypi.python.org/pypi/Pillow + .. _`Pillow`: https://pypi.python.org/pypi/Pillow * The following private APIs will be removed: @@ -215,6 +215,9 @@ these changes. * The internal ``django.utils.functional.memoize`` will be removed. +* ``django.core.cache.get_cache`` will be removed. Add suitable entries + to :setting:`CACHES` and use :data:`django.core.cache.caches` instead. + 2.0 --- -- cgit v1.3