mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #29887 -- Added a cache backend for pymemcache.
This commit is contained in:
parent
cda0a3d777
commit
b4d46df5ca
6 changed files with 89 additions and 4 deletions
|
@ -158,11 +158,16 @@ The cache backend to use. The built-in cache backends are:
|
|||
* ``'django.core.cache.backends.locmem.LocMemCache'``
|
||||
* ``'django.core.cache.backends.memcached.MemcachedCache'``
|
||||
* ``'django.core.cache.backends.memcached.PyLibMCCache'``
|
||||
* ``'django.core.cache.backends.memcached.PyMemcacheCache'``
|
||||
|
||||
You can use a cache backend that doesn't ship with Django by setting
|
||||
:setting:`BACKEND <CACHES-BACKEND>` to a fully-qualified path of a cache
|
||||
backend class (i.e. ``mypackage.backends.whatever.WhateverCache``).
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
|
||||
The ``PyMemcacheCache`` backend was added.
|
||||
|
||||
.. setting:: CACHES-KEY_FUNCTION
|
||||
|
||||
``KEY_FUNCTION``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue