Thursday, February 3, 2011

Re: Memcache configured, but not used !?

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!

I'm not sure it is.
Can you make sure you are using django 1.3 ?
in the shell do:
import django
print django.VERSION

If it says 1, 2, whatever, your configuration isn't correct as CACHES is for 1.3

Xavier.

No comments:

Post a Comment