- Installed memcached: apt-get install memcached
- Installed python-memcached: pip install python-memcached
- 
Changed my CACHESvariable in the settings to this:CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', } } 
 然后:telnet 127.0.0.1 11211测试一下看是否成功!
 注意:Trying 127.0.0.1... 
 Connected to 127.0.0.1.
 Escape character is '^]'.出现这样的结果说明是成功的 
 
                    
                     
                    
                 
                    
                 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号