From 05f3a6186efefc9fca2204a745b992501c6fd91f Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 16 Sep 2021 09:37:03 +0200 Subject: Refs #32193 -- Removed MemcachedCache per deprecation timeline. --- docs/releases/4.1.txt | 3 +++ docs/topics/cache.txt | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'docs') diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index 8cb4297d0e..157a05acdb 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -260,3 +260,6 @@ to remove usage of these features. * ``TransactionTestCase.assertQuerysetEqual()`` no longer calls ``repr()`` on a queryset when compared to string values. + +* The ``django.core.cache.backends.memcached.MemcachedCache`` backend is + removed. diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index f56bc00ce8..e9c3a025c8 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -158,12 +158,6 @@ permanent storage -- they're all intended to be solutions for caching, not storage -- but we point this out here because memory-based caching is particularly temporary. -.. deprecated:: 3.2 - - The ``MemcachedCache`` backend is deprecated as ``python-memcached`` has - some problems and seems to be unmaintained. Use ``PyMemcacheCache`` or - ``PyLibMCCache`` instead. - .. _redis: Redis @@ -931,12 +925,6 @@ stored a literal value ``None``, use a sentinel object as the default:: >>> cache.get('my_key', sentinel) is sentinel True -.. admonition:: ``MemcachedCache`` - - Due to a ``python-memcached`` limitation, it's not possible to distinguish - between stored ``None`` value and a cache miss signified by a return value - of ``None`` on the deprecated ``MemcachedCache`` backend. - ``cache.get()`` can take a ``default`` argument. This specifies which value to return if the object doesn't exist in the cache:: -- cgit v1.3