1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs #20892 -- Removed support for passing pylibmc behavior settings as top-level attributes of CACHES['OPTIONS'].

Per deprecation timeline.
This commit is contained in:
Tim Graham
2017-09-02 19:59:45 -04:00
parent 87d2240e6c
commit e47b56d791
4 changed files with 3 additions and 47 deletions

View File

@@ -236,3 +236,6 @@ how to remove usage of these features.
* ``django.test.runner.setup_databases()`` is removed.
* ``django.utils.translation.string_concat()`` is removed.
* ``django.core.cache.backends.memcached.PyLibMCCache`` no longer supports
passing ``pylibmc`` behavior settings as top-level attributes of ``OPTIONS``.

View File

@@ -479,14 +479,6 @@ the binary protocol, SASL authentication, and the ``ketama`` behavior mode::
}
}
.. versionchanged:: 1.11
Memcached backends can now be configured using ``OPTIONS``.
In older versions, you could pass ``pylibmc`` behavior settings directly
inside ``OPTIONS``. This is deprecated in favor of setting them under a
``behaviors`` key within ``OPTIONS`` instead.
.. _the-per-site-cache:
The per-site cache