Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit ec1f74a468b0a848b20424eea2bea9d878aa5d61 1 parent 0f6555b
@freakboy3742 freakboy3742 authored
Showing with 9 additions and 16 deletions.
  1. +9 −16 docs/topics/cache.txt
View
25 docs/topics/cache.txt
@@ -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
filesystem usage.
-After installing Memcached itself, you'll need to install the Memcached Python
-bindings, which are not bundled with Django directly. 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/ .
-
- * 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.
-
-.. versionadded:: 1.0
- The ``cmemcache`` option is new in 1.0. Previously, only
- ``python-memcached`` was supported.
+After installing Memcached itself, you'll need to install
+``python-memcached``, which provides Python bindings to Memcached.
+This is available at ftp://ftp.tummy.com/pub/python-memcached/
+
+.. versionchanged:: 1.2
+ 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
+ a lack of maintenence on the ``cmemcache`` library itself. Support for
+ ``cmemcache`` will be removed completely in Django 1.4.
To use Memcached with Django, set ``CACHE_BACKEND`` to
``memcached://ip:port/``, where ``ip`` is the IP address of the Memcached
Please sign in to comment.
Something went wrong with that request. Please try again.