Hi there,

I'm having some issues with the low level cache functionality in Django 1.4 
and I can't seem to find info relevant to my exact problem.

I'm running a separate Python script to check on the status of a Master and 
Slave MySQL db pair, which then inserts some values into a local Memcache 
instance.
I know for certain that the values are being inserted into the cache, as I 
can access them from another Python interpreter using pylibmc.

However, when I try to access those same keys from a Django view, the 
results are None. I've configured the CACHES setting to point at the same 
local 
Memcache instance and tried with both django.core.cache.MemcachedCache and 
django.core.cache.PyLibMCCache.

Perhaps my understanding is flawed and Django shouldn't be able to access 
cache values inserted by another process? I would think that this is not 
the case because otherwise the use of such a cache would be quite limited.

I haven't checked that Django can write to the cache and read back for 
itself yet, that is a task for tomorrow.

Any thoughts or input is much appreciated.

Thanks,
Max

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to