I\'m trying to understand how Django is setting keys for my views. I\'m wondering if there\'s a way to just get all the saved keys from Memcached. something like a cac
Switch to using LocMemCache instead of MemcachedCache:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'unique-snowflake',
}
}
Then see the question Contents of locmem cache in Django?:
from django.core.cache.backends import locmem
print(locmem._caches)