Ticket #13405: cmemcached.diff
File cmemcached.diff, 1.6 KB (added by , 15 years ago) |
---|
-
docs/topics/cache.txt
68 68 filesystem usage. 69 69 70 70 After installing Memcached itself, you'll need to install the Memcached Python 71 bindings, which are not bundled with Django directly. Two versions of this are 72 available. Choose and install *one* of the following modules: 71 bindings, ``python-memcached``, which are not bundled with Django directly. 72 You can install it directly with ``easy_install python-memcached``, or 73 download it from ftp://ftp.tummy.com/pub/python-memcached/ . If that URL is 74 no longer valid, just go to the Memcached Web site 75 (http://www.danga.com/memcached/) and get the Python bindings from the 76 "Client APIs" section. 73 77 74 * The fastest available option is a module called ``cmemcache``, available75 at http://gijsbert.org/cmemcache/ .76 78 77 * If you can't install ``cmemcache``, you can install ``python-memcached``,78 available at ftp://ftp.tummy.com/pub/python-memcached/ . If that URL is79 no longer valid, just go to the Memcached Web site80 (http://www.danga.com/memcached/) and get the Python bindings from the81 "Client APIs" section.82 83 .. versionadded:: 1.084 The ``cmemcache`` option is new in 1.0. Previously, only85 ``python-memcached`` was supported.86 87 79 To use Memcached with Django, set ``CACHE_BACKEND`` to 88 80 ``memcached://ip:port/``, where ``ip`` is the IP address of the Memcached 89 81 daemon and ``port`` is the port on which Memcached is running.