Log in to django's shell:
python manage.py shell
and type:
from django.core.cache import cache
cache.set('somekey', 'someval')
cache.get('somekey')
You should get back 'someval' when the cache works. You can confirm that with the dummy cache backend the cache.get('somekey') will return None, but with some real backend you'll get the stored value.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-07-24 23:24:09 -0500
Seen: 268 times
Last updated: Jul 26 '12
How do I configure memcached for Django 1.3?
Incorrect timestamps in the content displays
What may be wrong with using the local memory caching?
Why some times Answers are not shown after submit?
Admin settings (as superuser) are not saving
Why doesn't settings = cache.get('askbot-livesettings') return anything?
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.