Fixed #9377 -- Clarified when cmemcached support was included in Django.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-11-14 08:02:46 +00:00
parent 26fabdb218
commit 64b56447f3
1 changed files with 5 additions and 3 deletions

View File

@ -72,9 +72,7 @@ bindings. Two versions of this are available. Choose and install *one* of the
following modules: following modules:
* The fastest available option is a module called ``cmemcache``, available * The fastest available option is a module called ``cmemcache``, available
at http://gijsbert.org/cmemcache/ . (This module is only compatible with at http://gijsbert.org/cmemcache/ .
the Django development version. Django 0.96 is only compatible with the
second option, below.)
* If you can't install ``cmemcache``, you can install ``python-memcached``, * If you can't install ``cmemcache``, you can install ``python-memcached``,
available at ftp://ftp.tummy.com/pub/python-memcached/ . If that URL is available at ftp://ftp.tummy.com/pub/python-memcached/ . If that URL is
@ -82,6 +80,10 @@ following modules:
(http://www.danga.com/memcached/) and get the Python bindings from the (http://www.danga.com/memcached/) and get the Python bindings from the
"Client APIs" section. "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
daemon and ``port`` is the port on which Memcached is running. daemon and ``port`` is the port on which Memcached is running.