summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-03-25 23:29:31 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-03-25 23:29:31 +0000
commita5bb14ed2e3e1a26a4f7312582cf3e350bdd3985 (patch)
tree3fdab9fa1069476955c76e6be694780cf8c08b37 /docs
parent9c10a2f1184ee92ed9dcce6f54e114082c357bfa (diff)
Fixed #3648 -- Added support for cmemcached Python library. Thanks, floguy@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/cache.txt17
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/cache.txt b/docs/cache.txt
index 054d99819d..e245e100e7 100644
--- a/docs/cache.txt
+++ b/docs/cache.txt
@@ -66,10 +66,19 @@ deleting arbitrary data in the cache. All data is stored directly in memory,
so there's no overhead of database or filesystem usage.
After installing Memcached itself, you'll need to install the Memcached Python
-bindings. They're in a single Python module, memcache.py, available at
-ftp://ftp.tummy.com/pub/python-memcached/ . If that URL is 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.
+bindings. Two versions of this are available. Choose and install *one* of the
+following modules:
+
+ * The fastest available option is a module called ``cmemcache``, available
+ at http://gijsbert.org/cmemcache/ . (This module is only compatible with
+ 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``,
+ available at ftp://ftp.tummy.com/pub/python-memcached/ . If that URL is
+ 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.
To use Memcached with Django, set ``CACHE_BACKEND`` to
``memcached://ip:port/``, where ``ip`` is the IP address of the Memcached