Kaydet (Commit) ec1f74a4 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #13405 -- Removed the recommendation for the use of cmemcache. Thanks to…

Fixed #13405 -- Removed the recommendation for the use of cmemcache. Thanks to danielr for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 0f6555bc
...@@ -67,22 +67,15 @@ fast interface for adding, retrieving and deleting arbitrary data in the cache. ...@@ -67,22 +67,15 @@ fast interface for adding, retrieving and deleting arbitrary data in the cache.
All data is stored directly in memory, so there's no overhead of database or All data is stored directly in memory, so there's no overhead of database or
filesystem usage. filesystem usage.
After installing Memcached itself, you'll need to install the Memcached Python After installing Memcached itself, you'll need to install
bindings, which are not bundled with Django directly. Two versions of this are ``python-memcached``, which provides Python bindings to Memcached.
available. Choose and install *one* of the following modules: This is available at ftp://ftp.tummy.com/pub/python-memcached/
* The fastest available option is a module called ``cmemcache``, available .. versionchanged:: 1.2
at http://gijsbert.org/cmemcache/ . In Django 1.0 and 1.1, you could also use ``cmemcache`` as a binding.
However, support for this library was deprecated in 1.2 due to
* If you can't install ``cmemcache``, you can install ``python-memcached``, a lack of maintenence on the ``cmemcache`` library itself. Support for
available at ftp://ftp.tummy.com/pub/python-memcached/ . If that URL is ``cmemcache`` will be removed completely in Django 1.4.
no longer valid, just go to the Memcached Web site
(http://www.danga.com/memcached/) and get the Python bindings from the
"Client APIs" section.
.. versionadded:: 1.0
The ``cmemcache`` option is new in 1.0. Previously, only
``python-memcached`` was supported.
To use Memcached with Django, set ``CACHE_BACKEND`` to To use Memcached with Django, set ``CACHE_BACKEND`` to
``memcached://ip:port/``, where ``ip`` is the IP address of the Memcached ``memcached://ip:port/``, where ``ip`` is the IP address of the Memcached
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment