Hi!

> I assume you configured the cache backend to point to memcache, didn't you ?

yes :)

in my settings.py I have



   CACHES = {
       'default': {
           'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
       }
   }


try:
   from local_settings import *
except ImportError:
   pass

and in local_settings.py:

CACHES = {
   'default': {
       'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
       'LOCATION': '127.0.0.1:11211',
   }
}

Which should override the dummycache setting.

However I just checked using ./manage.py shell:

from django.core.cache import cache
print cache
<django.core.cache.backends.locmem.CacheClass object at 0x2705dd0>

In the shell it is using the locmem which I haven’t configured anywhere... 
strange!

Bye
Ivo

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to