  * ``TransactionTestCase.assertQuerysetEqual()` will no longer automatically
    call ``repr()`` on a queryset when compared to string values.
  
  .. _deprecation-removed-in-4.0:
  
  4.0
  ---
  
  See the :ref:`Django 3.0 release notes <deprecated-features-3.0>` for more
 
</s> remove             # Some clients (e.g. pylibmc) raise when the value is too large,
            # while others (e.g. python-memcached) intentionally return True
            # indicating success. This test is primarily checking that the key
            # was deleted, so the return/exception behavior for the set()
            # itself is not important.
 </s> add             # Most clients (e.g. pymemcache or pylibmc) raise when the value is
            # too large. This test is primarily checking that the key was
            # deleted, so the return/exception behavior for the set() itself is
            # not important. </s> remove   ``django.core.cache.backends.memcached.MemcachedCache``,
  ``django.core.cache.backends.memcached.PyLibMCCache``, or
  ``django.core.cache.backends.memcached.PyMemcacheCache`` (depending on your
 </s> add   ``django.core.cache.backends.memcached.PyMemcacheCache`` or
  ``django.core.cache.backends.memcached.PyLibMCCache`` (depending on your </s> remove .. _`python-memcached`: https://pypi.org/project/python-memcached/
 </s> add  </s> remove Here's an example configuration for a ``python-memcached`` based backend with
an object size limit of 2MB::

    CACHES = {
        'default': {
            'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
            'LOCATION': '127.0.0.1:11211',
            'OPTIONS': {
                'server_max_value_length': 1024 * 1024 * 2,
            }
        }
    }

 </s> add 
* ``django.core.cache.backends.memcached.MemcachedCache`` will be removed.

  * ``TransactionTestCase.assertQuerysetEqual()` will no longer automatically
    call ``repr()`` on a queryset when compared to string values.
  
* ``django.core.cache.backends.memcached.MemcachedCache`` will be removed.

  .. _deprecation-removed-in-4.0:
  
  4.0
  ---
  
  See the :ref:`Django 3.0 release notes <deprecated-features-3.0>` for more
keep keep add keep keep keep keep keep keep
 Fixed #32193 -- Deprecated MemcachedCache. 
docs/internals/deprecation.txt