Browse Source

Merge pull request #2821 from asfaltboy/documentation-clarification-memory-cache-backend

Clearly explain how to use memory cache backend
Omer Katz 9 years ago
parent
commit
307b9116d9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      docs/configuration.rst

+ 3 - 0
docs/configuration.rst

@@ -396,6 +396,9 @@ Using multiple memcached servers:
 
 The "memory" backend stores the cache in memory only:
 
+.. code-block:: python
+
+    CELERY_RESULT_BACKEND = 'cache'
     CELERY_CACHE_BACKEND = 'memory'
 
 CELERY_CACHE_BACKEND_OPTIONS