summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-16 09:37:03 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-20 21:23:01 +0200
commit05f3a6186efefc9fca2204a745b992501c6fd91f (patch)
tree15dd3eca3d6798c91a3bba3f6c89a527e06c53af /docs
parente2be307b3ab6ebf339b3a765fe64967c9602266f (diff)
Refs #32193 -- Removed MemcachedCache per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.1.txt3
-rw-r--r--docs/topics/cache.txt12
2 files changed, 3 insertions, 12 deletions
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::